node-jira
node-jira copied to clipboard
returns error for every API call
I am trying to find the issue by using the library's findIssue method. But i am getting 'invalid issue number' under '2.0.alpha1' and 'null' under 2 version. I also tried to find the project using the getProjects but i am getting the same error.
My code: var express = require('express'), app = express(); JiraApi = require('jira').JiraApi; app.get('/issue',function(req,res){ var jira = new JiraApi('http', '2xx.3x.2xx.xx', 'xxxx', 'username', 'password', '2.0.alpha1',true,false); jira.findIssue('FG-1',function(data){ console.log(data); }); });
app.listen(3000);
Hey there @Nisthar , this repository and package hasn't gotten any support for some time. You're welcome to come check out my organization's fork at https://github.com/jira-node/node-jira-client. If you do, I'll be more than happy to answer any questions and offer assistance.
It is released on npm here: https://www.npmjs.com/package/jira-client
Thans @KanoYugoro was having the same problem, with jira-client its starting to work