jira-cli | 🔥 Feature-rich interactive Jira command line | Command Line Interface library
kandi X-RAY | jira-cli Summary
kandi X-RAY | jira-cli Summary
[WIP] Feature-rich interactive Jira command line.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of jira-cli
jira-cli Key Features
jira-cli Examples and Code Snippets
Community Discussions
Trending Discussions on jira-cli
QUESTION
When I run my mocha tests in debug mode, Node.js debugger has a default value used as the --inspect-brk=
value.
Without specifying it in the script, my test script looks like that
ANSWER
Answered 2022-Mar-15 at 14:24Remove your debug configurations from intellij using the "-" button. Or just run you application in "run mode", not using the "run debug" mode from the IDE.
How to choose the debug port number57629 is just the default port number for debug configured by intellij.
To change it, open intellij and go to Run | Edit Configurations | Add New Configuration | Attach to Node.js/Chrome
Then, change the Port field value.
QUESTION
I am using jira-client npm to deal with jira rest API , and I am trying to add an attachment to a ticket using addAttachmentOnIssue
method, this method requires the key of the issue as a string parameter and also requires ReadStream as the second parameter, I am able to attach a file to a ticket if I followed these steps:
ANSWER
Answered 2022-Feb-07 at 06:17the problem is that the required file related information such as filename, knownLength etc. is missing, which is why it fails parsing the stream.
you need to provide file related information manually
as jira-client
is using postman-request
, you can do that by providing a custom file object like described here:
multipart/form-data (Multipart Form Uploads)
Try this:
QUESTION
I'd like to collect information from privately installed Jira server but I've got a problem doing it.
Of course, I can connect the the site using my Chrome browser and it also find calling REST API from the browser address bar - https://myjiraaddr/rest/api/2/search
Sending REST API request using curl works okay with -u option(username:password) from command line.
But if I try it using nodejs and got an error says self signed certificate in certificate chain.
Can anybody please explain what makes these differences and how to fix it?
Thanks in advance :)
...ANSWER
Answered 2020-Dec-11 at 12:28If you're dealing with a self-signed certificate you can bypass the strict-check by setting the strictSSL
option to false
, as described in the docs:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jira-cli
Export the password you use to login to Jira as a JIRA_API_TOKEN variable. Add it to your shell configuration file, for instance, $HOME/.bashrc, so that the variable is always available. Run jira init, select installation type as Local, and provide required details to generate a config file required for the tool. Note: If your on-premise Jira installation is using a language other than English, then the issue/epic creation may not work because the older version of Jira API doesn't return untranslated name for issuetypes. In that case, you will have to fill in epic.name, epic.link and issue.types.*.handle fields manually in the generated config to get the expected behavior. See FAQs for frequently asked questions. Check jira completion --help for more info on setting up a bash/zsh shell completion.
Get a Jira API token and export it to your shell as a JIRA_API_TOKEN variable. Add it to your shell configuration file, for instance, $HOME/.bashrc, so that the variable is always available.
Run jira init, select installation type as Cloud, and provide required details to generate a config file required for the tool.
Export the password you use to login to Jira as a JIRA_API_TOKEN variable. Add it to your shell configuration file, for instance, $HOME/.bashrc, so that the variable is always available.
Run jira init, select installation type as Local, and provide required details to generate a config file required for the tool. Note: If your on-premise Jira installation is using a language other than English, then the issue/epic creation may not work because the older version of Jira API doesn't return untranslated name for issuetypes. In that case, you will have to fill in epic.name, epic.link and issue.types.*.handle fields manually in the generated config to get the expected behavior.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page