Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Jira API Client Access Check
# make sure to replace 'my-host' '', 'my-jira-api-token' and 'issue-id' below with valid values
# Access check using curl
curl -v --user
# Access check using node
node -e "const JiraApi = require('jira-client'); new JiraApi({protocol: 'https', host: '', username: '', password: 'my-jira-api-token', apiVersion: '2', strictSSL: true}).findIssue('issue-id').then((result) => console.log(result));"
# it should result in the issue information

This comment has been minimized.

Copy link
Owner Author

@gumatias gumatias commented Feb 9, 2021


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment