user460114
user460114

Reputation: 1848

JIRA - Get List of Unresolved Issues

I'm brand new to JIRA API programming. I need to get a list of unresolved issues. From the API, the function getIssuesFromFilterWithLimit() looks like a likely candidate. And I have also read on another SO thread that an issue is unresolved if the system Resolution field contains no value. So, how would I construct the call, e.g (I'm fishing here) in pseudocode:

getIssuesFromFilterWithLimit(resolution=NULL)

Or is there a better way to do this?

Upvotes: 2

Views: 1359

Answers (1)

Brent Worden
Brent Worden

Reputation: 10974

According to the JIRA RPC documentation, getIssuesFromFilterWithLimit uses a predefined JIRA filter to retrieve issues. It will not work with a caller supplied query or search terms.

To use this method, you will need to define a filter in JIRA so it can be referenced in the getIssuesFromFilterWithLimit call.

An alternative would be to use getIssuesFromJQLSearch which works with a caller supplied JQL expression to retrieve issues. The JQL to return issues with now resolution would be resolved is EMPTY.

Upvotes: 2

Related Questions