Hello. I am working on display sprint's "Commitment Reliability" KPI in a proprietary piece of software. The data needed is: points delivered and points committed. There is API endpoint in JIRA Software REST API designed to return all issues in a sprint e.g.: https://developer.atlassian.com/cloud/jira/software/rest/api-group-sprint/#api-agile-1-0-sprint-sprintid-issue-get
But, that only returns the issues which are currently still assigned to the sprint. To calculate what I want, I also need to know which issues have been removed from that sprint but I am having hard time to find out which endpoint returns that. Is there an API resource which returns all the issues removed during the sprint?
Another approach would be to get a list of all the stories at the start of the sprint, store that information, then get the same list at the end of the sprint and compare the two. Not only would that show which stories were removed, it would also show which ones were added.
Hi @Peter V -- Welcome to the Atlassian Community!
I do not believe is possible from the API without checking the individual issues to see the logs, and at different points within the sprint timeframe. A work-around would be to add a custom field which gets appended with the current sprint when it starts (using automation) and then perform the comparison once the sprint closes to see what remains in scope.
However, I am puzzled about that measure you note being a KPI. It seems more like a diagnostic to me: a measure to monitor and resolve a specific problem (sprint backlog churn) for a period of time, and once resolved it is no longer measured.
Hi @Peter V
I have puzzled together something for you (by combining a few former Community posts) but beg my pardon it is not tested - in case you want to give it a try, please feel free to do so.
You could try to access:
Please replace rapidViewId=1 and sprintId=1 with valid values.
The output you should be on the look out for is:
This is far away from a guarantee for a working solution. The last info that this could be a solution is from mid 2015.
Please keep us posted.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events