Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
jira-greenqloud
Advanced tools
A node.js module, which provides an object oriented wrapper for the JIRA REST API.
This library is built to support version 2.0.alpha1
of the JIRA REST API.
This library is also tested with version 2
of the JIRA REST API.
It has been noted that with Jira OnDemand, 2.0.alpha1
does not work, devs
should revert to 2
. If this changes, please notify us.
JIRA REST API documentation can be found here
Install with the node package manager npm:
$ npm install jira
or
Install via git clone:
$ git clone git://github.com/steves/node-jira.git
$ cd node-jira
$ npm install
JiraApi = require('jira').JiraApi;
var jira = new JiraApi('https', config.host, config.port, config.user, config.password, '2.0.alpha1');
jira.findIssue(issueNumber, function(error, issue) {
console.log('Status: ' + issue.fields.status.name);
});
Currently there is no explicit login call necessary as each API call uses Basic Authentication to authenticate.
Returns an array of remote links data.
jira.getRemoteLinks(issueKey, function(err, links) {
if (!err) {
console.log(issueKey + ' has ' + links.length + ' web links');
}
});
Returns an array of remote links data.
// create a web link to a GitHub issue
var linkData = {
"object": {
"url" : "https://github.com/steves/node-jira/issues/1",
"title": "Add getVersions and createVersion functions",
"icon" : {
"url16x16": "https://github.com/favicon.ico"
}
}
};
jira.createRemoteLink(issueKey, linkData, function (err, link) {
});
More information can be found by checking JIRA Developer documentation.
JiraApi options:
protocol<string>
: Typically 'http:' or 'https:'host<string>
: The hostname for your jira serverport<int>
: The port your jira server is listening on (probably 80
or 443
)user<string>
: The username to log in withpassword<string>
: Keep it secret, keep it safeJira API Version<string>
: Known to work with 2
and 2.0.alpha1
verbose<bool>
: Log some info to the console, usually for debuggingstrictSSL<bool>
: Set to false if you have self-signed certs or something non-trustworthyFAQs
Wrapper for the JIRA API
The npm package jira-greenqloud receives a total of 0 weekly downloads. As such, jira-greenqloud popularity was classified as not popular.
We found that jira-greenqloud demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.