1.4.2 • Published 1 year ago

library-jira v1.4.2

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

Jira-api-client

A small library that create a client of jira

Installation

Install with the node package manager npm:

$ npm install library-jira

Usage

$ export JIRA_SERVER=https://example.com
$ export JIRA_PROJECT_ID=xxxxx
$ export JIRA_USERNAME=username_credential
$ export JIRA_PASSWORD=password_credential
// With ES5
const { createIssueTestPlan } = require('library-jira');

// With ES6
import { createIssueTestPlan } from "library-jira";

// Initialize
createIssueTestPlan('Title of test plan');
createIssueExecutionTest('Title of test execution');
linkTestCaseToTestPlan('Number of Test case', 'Test plan key');
linkTestCaseToTestExecution('Number of Test case', 'Test execution key');
linkTestPlanToTestExecution('Number of Test plan', 'Test execution key');
updateTestCaseExecution('Number of Test case', 'Test execution key', 'Test plan key', 'State of result test');
setStateIssue('Number issue', 'Number of transicion');
getTestRun('Number of Test case', 'Test execution key');
attachFileToTestRun('ID number of test run', 'File path', 'Name of file to be uploaded', 'File Content Type')

Tests

npm test

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago