0.0.3 • Published 1 year ago

jira-integration-savvycom v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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);
});
0.0.3

1 year ago