Comments (3)
Hello @renato-bohler, thanks for your support! I see... we're using this lib as a base to make the API requests: https://github.com/jira-node/node-jira-client and in this case, I think you should make the API calls through your proxy, but I'm afraid that this lib doesn't support it currently: jira-node/node-jira-client#92
from jira-cli.
They don't support proxy officially, but they use request
(from request-promise
) which does support proxy.
Fortunately, we could pass the request
parameter as an option to node-jira-client
: see jira.js at line 25.
In fact, I've forked this repo and made I work through proxy. I know this is not the best solution to the problem, but here's what I've done:
- add the dependency
request-response
; - check for a
proxy
key on the config file; - mount and pass a proxied
request
to connect tonode-jira-client
if that key is set.
Here's the commit on the fork: renato-bohler@7353596.
I'm willing to add an extra config option to set the proxy via CLI and I can submit a PR if you think that's ok.
from jira-cli.
that's awesome, sure a PR would be great!
Thanks @renato-bohler :)
from jira-cli.
Related Issues (20)
- Transition name is ignored when passed to `jira i <name> --transition` HOT 5
- Adding label option when creating task
- jira issue create: seems like an invalid command HOT 1
- Allow connection to server using self-signed cert
- Allow to select user when assigning an issue HOT 1
- Any chance we can get a new release?
- Can't assign issue with GDPR strict mode on
- `jira issue $ISSUE_NAME` -> TypeError
- jira show [ISSUE] shows raw text and markup
- GPDR strict mode
- 1.2.1 is a breaking change
- Trouble installing after cloning HOT 1
- Saved credentials must be in directory from which jira cli is executed
- [Feature request] Add option to export pure text, without decoration like table or color
- "npm WARN" deprecated dependencies listed when installing
- [bug] output is broken
- can it be converted into a binary release instead of using a nodejs runtime?
- Json (yaml) structured output.
- Access to local hosted server with token fails unless anonymous HOT 1
- Can't `jira init` in a cloud selfhosted instance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira-cli.