library-jira
TypeScript icon, indicating that this package has built-in type declarations

1.4.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i library-jira

Weekly Downloads

394

Version

1.4.2

License

ISC

Unpacked Size

42.6 kB

Total Files

14

Last publish

Collaborators

  • bernardo75
  • victorgabarullo