According to the Atlassian documentation (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-group-issue-search),
the "/rest/api/3/search"
endpoint is now deprecated. I’m migrating to the JQL-based version "/rest/api/3/search/jql"
, but I noticed that the total
field is no longer included in the response.
I came across a suggestion to set maxResults=0
(see https://confluence.atlassian.com/jirakb/find-the-total-number-of-work-items-in-jira-cloud-using-jql-or-issue-search-1319567658.html), but when I try that I get an error saying maxResults
must be between 1 and 5000.
So how can I retrieve the total number of items for a search?
To save a bit of time. You need a POST and send that body. Put the JQL in between the "".
and thanks @Bill Sheboy !!
Regards
Hi @Cedric Moncade -- Welcome to the Atlassian Community!
Please try the endpoint for Count Issues Using JQL:
Kind regards,
Bill
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.