0.0.1 • Published 3 years ago
savvycom-jira-integration v0.0.1
Jira Integration
Installation
Install with the node package manager npm:
$ npm i jira-integration-testInstall with the node package manager yarn:
$ yarn add jira-integration-testExamples
Create the JIRA Api
// With ES5
var JiraApi = require('jira-integration-test');
// With ES6
import JiraApi from 'jira-integration-test';
// 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.1
3 years ago