Jira V9.17.0
Currently to get the total of tickets in a filter we are calling rest/api/2/filter/{filterId} to get total count of tickets for each filter and if there are multiple filters we are calling the above endpoint in Loop.
IS there any JQl which would take all the filter ID and give back count of tickets in Each Filter ID
Use this endpoint instead. rest/api/3/search?jql=filter=68630
Your results start with this:
{"expand":"schema,names","startAt":0,"maxResults":50,"total":67,
you can add multiple filters if you are trying to get the total issues for all. If an issue is in both filters, it will only be counted once.
/rest/api/3/search?jql=filter%20%in%(10000,10001,10009)
Hi, @Dinesh Bontha
It's not possible to achieve with JQL. It returns issues from the saved filter’s JQL, not their numbers.
If you have ScriptRunner. you can make custom REST endpoint, which makes required actions.
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.