How to get issue count for each Project along with the last update time
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Jira Cloud REST API can be used to fetch the issue count and the last issue update time for all the projects on a Site.
Solution
Use the Project Search API and expand it on the Insight value.
The API will get the count for each project. Expanding with insight will get us the "totalIssueCount" and the lastIssueUpdateTime.
e.g
1
2
3
4
"insight": {
"totalIssueCount": 213,
"lastIssueUpdateTime": "2021-12-21T22:39:43.372+0530"
}
Updated on April 2, 2025
Was this helpful?
Still need help?
The Atlassian Community is here for you.