Skip to content

returns error for every API call #126

@Nisthar

Description

@Nisthar

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions