See total number of issues in a Jira Issue search or JQL search
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
When you search for Jira issues, and the number of issues returned is greater than 1000, you don't see the exact count of issues returned.
There are two methods to get a total count of issues matched by your JQL or issue search.
Get returned issue totals in Jira user interface
After performing an issue search, the bottom of the search results will indicate there are 1000+ issues returned.
The 1000+ text is a link that can be selected to quickly calculate the total number of matched issues. Simply click or select the link in your browser to run the calculation, and the 1000+ text will be replaced with the total.
Alternative: Get returned issue totals via REST API
- Go to Filters > View All issues
- Create and execute an issue search with JQL
The URL in the browser should look similar to the one below
https://<yourdomain>.atlassian.net/issues/?jql=<encoded_jql_query>
- In the browser address bar replace "/issues/" with "/rest/api/3/search"
Append the URL with "&maxResults=0" parameter
The final URL should look like below
https://<yourdomain>.atlassian.net/rest/api/3/search?jql=<encoded_jql_query>&maxResults=0
- Enter キーを押す
This will return a short JSON object. Within it, you'll see the "total" property which will hold the total count of issues returned for your JQL.
Here we are leveraging our REST API endpoint to get the count directly in the browser rather than making an API call through other means.