Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need Info on getting just the count of tickets in a filter

Dinesh Bontha June 10, 2025

I am planning to use V2 api's to getting just the count of tickets in a filter.


I have GET /rest/api/2/search?jql=filter=12345&maxResults=0
But i am not able to find any documentation for the api end point .

 

Could someone point me to the documentation or if someone can give me any other endpoint to just get the total of the tickets for the filter. That would be really helpful

Note : I can just use V2 Api's

1 answer

1 vote
Trudy Claspill
Community Champion
June 10, 2025

Hello @Dinesh Bontha 

Welcome to the Atlassian community.

What version of Jira DC are you using?

This is the home page for Jira DC Software REST API documentation. You may have to navigate to one of the older versions pages listed if you are using a pre-v10 version of Jira DC.

https://developer.atlassian.com/server/jira/platform/rest/v10002/intro/#previous-versions

This is a link to the specific api endpoint in the documentation. It include information about the JSON formatted date returned by the endpoint.

https://developer.atlassian.com/server/jira/platform/rest/v10002/api-group-search/#api-api-2-search-get

Included in that output is "total" which is the count of issues found by the filter.

Screenshot 2025-06-10 at 10.21.28 PM.png

Suggest an answer

Log in or Sign up to answer