You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.
Whenever i call the search method and pass along jql and fileds, i get a undefined.
Here the call:
jira.search.search({jql: 'issuetype in(Story,Bug,Issue) AND status not in("Resolved","Closed") AND sprint in openSprints()', fields: 'summary,status' }, function(err, res) { console.log(res);});
Whenever i omit the 'fields' option, it works like a charm.
The text was updated successfully, but these errors were encountered:
The fields parameter is actually an array, rather than a comma separated string; that's probably what's causing the issue.
Try using this, instead:
jira.search.search({jql: 'issuetype in(Story,Bug,Issue) AND status not in("Resolved","Closed") AND sprint in openSprints()',fields: ['summary','status']},function(err,res){console.log(res);});
Whenever i call the search method and pass along jql and fileds, i get a undefined.
Here the call:
jira.search.search({jql: 'issuetype in(Story,Bug,Issue) AND status not in("Resolved","Closed") AND sprint in openSprints()', fields: 'summary,status' }, function(err, res) { console.log(res);});
Whenever i omit the 'fields' option, it works like a charm.
The text was updated successfully, but these errors were encountered: