JavaScript JIRA API for node.js
A node.js module, which provides an object oriented wrapper for the Jira Rest API.
Installation
Install with the node package manager npm:
$ npm install jira-client
Examples
Create the JIRA client
// With ES5var JiraApi = ; // With ES6; // Initializevar jira = protocol: 'https' host: 'jira.somehost.com' username: 'username' password: 'password' apiVersion: '2' strictSSL: true;
Find the status of an issue
// ES5// We are using an ES5 Polyfill for Promise support. Please note that if you don't explicitly// apply a catch exceptions will get swallowed. Read up on ES6 Promises for further details.jira ; // ES6jira ; // ES7 { try const issue = await jira; console; catch err console; }