I would like to retrieve a list of issues by filtering on a filter ID as well as a status of "In Progress".
I am doing something similar to the following:
https://jira.com/rest/api/2/search?jql=filter=11111&status=In+Progress&fields=id,key,status
However, when I do this, JIRA just returns all of the issues under filter ID 11111, not just the ones that are In Progress.
Any ideas what I am doing wrong?
Hello Felix,
As far as I know, you can't use such a query parameter to re-filter your filters.
Alternatively, you can save a new filter including " AND status = 'In Progress'" to your existing filter, and use it in REST method.
Here you can see all query parameters that can be used for this REST service:
Sure, makes sense. It just seems a little tedious to add a new filter with AND status = 'In Progress' since I'm working with a large number of filters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Found a method that works:
https://jira.com/rest/api/2/search?jql=filter=11111+and+status="In+Progress"&fields=id,key,status
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Felix Chan thanks so much for that! That was what I was needing. Answered my prayers:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You are sending your JQL the wrong way. It should be:
jql=filter%3D11111%20and%20status%3DIn%2BProgress%26fields%3Did%2Ckey%2Cstatus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.