0.0.4 • Published 2 years ago
jira-integration v0.0.4
Jira Integration
Installation
Install with the node package manager npm:
$ npm i savvycom-jira-integration
Install with the node package manager yarn:
$ yarn add savvycom-jira-integration
Examples
Create the JIRA Api
// With ES5
var JiraApi = require('savvycom-jira-integration');
// With ES6
import JiraApi from 'savvycom-jira-integration';
// Initialize
var jira = new JiraApi({
protocol: 'https', // optional
host: 'jira.somehost.com',
username: 'username',
password: 'password',
});
Get worklogs of an issue
jiraApi.apiGetWorkLogsFromIssue(13284).then((data) => {
console.log(data);
});