Gathering detailed insights and metrics for jira-client-xray
Gathering detailed insights and metrics for jira-client-xray
Gathering detailed insights and metrics for jira-client-xray
Gathering detailed insights and metrics for jira-client-xray
npm install jira-client-xray
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
3 Stars
4 Commits
3 Forks
3 Watching
1 Branches
1 Contributors
Updated on 28 Jan 2023
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
49.4%
248
Compared to previous day
Last week
-6.8%
1,133
Compared to previous week
Last month
13.7%
4,788
Compared to previous month
Last year
3%
37,657
Compared to previous year
2
4
jira-client-xray
An extended wrapper of the existing jira-client
module, which adds support for the "Xray for Jira" Test Management plugin's REST API.
1$ npm install --save jira-client-xray
1var JiraApiWithXray = require('jira-client-xray');
2
3// Initialize
4var jira = new JiraApiWithXray({
5 strictSSL: true,
6 protocol: 'https',
7 username: 'username',
8 password: 'password',
9 host: 'jira.somehost.com',
10 base: 'jira',
11 xrayVersion: '1.0'
12});
The constructor options
parameter is a superset of the jira-client
module's constructor's options
parameter. It contains all of those configuration options, plus the following additional properties:
xrayVersion
(string) - The REST API version of the "Xray for Jira" plugin. Defaults to '1.0'
.For deeper documentation, please view our ESDoc-generated documentation.
The HTTP response object (referred to as the "testExecIssueId" in all subsequent examples) returned from the Promise
for each of the following import methods is as follows:
1{ 2 "testExecIssue": { 3 "id": "10000", 4 "key": "DEMO-123", 5 "self": "http://www.example.com/jira/rest/api/2/issue/10000" 6 } 7}
The JSON schema for the issueData
parameter that is an optional part of some of these API calls is as follows:
1jira 2 .importExecResultsFromXray(testExecResults) 3 .then(function(testExecIssueId) { /* ... */ });
1jira 2 .importExecResultsFromCucumber(testExecResults) 3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromCucumber(testExecResults, issueData)
3 .then(function(testExecIssueId) { /* ... */ });
1jira 2 .importExecResultsFromBehave(testExecResults) 3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromBehave(testExecResults, issueData)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromJUnit(testExecResults, query)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromJUnit(testExecResults, null, issueData)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromTestNG(testExecResults, query)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromTestNG(testExecResults, null, issueData)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromNUnit(testExecResults, query)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromNUnit(testExecResults, null, issueData)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromRobot(testExecResults, query)
3 .then(function(testExecIssueId) { /* ... */ });
1jira
2 .importExecResultsFromRobot(testExecResults, null, issueData)
3 .then(function(testExecIssueId) { /* ... */ });
Copyright (c) 2018, James M. Greene (MIT License)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
30 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More