Currently we are calling /api/2/filter/{id}. to get count. But it also has all the tickets .
We need to know if there is a way to just get the count of tickets in the filter.
Hi @Dinesh Bontha -- Welcome to the Atlassian Community!
The older v2 Issue Search endpoint provided a "total" attribute with the count, and that one is deprecated: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get
The newer v3 Issue Search does not provide the count...instead it only provides paging links: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get
There is a new Count Issues Using JQL one you could try: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-approximate-count-post
Kind regards,
Bill
Welcome to the community!
Have you tried providing a jql parameter in the API URL request -
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.