Hi,
I’m currently using the following API in Jira Cloud to fetch velocity chart details:
/rest/green hopper/1.0/rapid/charts/velocity json ? rapid View Id={board Id}
This API gives me the velocity Stat Entries
block, which contains committed vs completed story points for each sprint, for example:
"velocityStatEntries": { "8064": { "estimated": { "value": 14.0, "text": "14.0" }, "completed": { "value": 8.0, "text": "8.0" } } }
However, I’ve noticed that in Jira Cloud this endpoint only returns the last 12 sprints, and there doesn’t seem to be an official API that exposes velocityStatEntries
for all closed sprints.
I want to get committed vs completed story points for all sprints on a board, not just the last 12.
From what I understand:
/rest/agile/1.0/board/{boardId}/sprint?state=closed
→ returns all closed sprints
/rest/agile/1.0/sprint/{sprintId}/issue?fields=customfield_10004,status
→ can return story points per issue
We could then calculate committed vs completed manually (similar to how Jira builds velocity).
👉 My question:
Is there any official supported API in Jira Cloud that exposes velocity chart data (velocityStatEntries
)?
Or is manual calculation via the Agile APIs (fetching sprints + issues + summing story points) the only option?
Any guidance, confirmation, or workarounds would be appreciated.
Thanks!