Hi,
I’m using the below API to fetch issues of a given sprint:
/rest/agile/1.0/sprint/(sprintId)/issue
In the response, I get a custom field for Story Points. But this only shows the current value of the story points.
What I want to know is:
Can we retrieve the original (starting) story point value that was set when the issue was created?
Is this possible through the same API, or is there another Jira Cloud API that provides this historical data?
Any guidance would be really helpful.
Thanks!
Hi @sarvesh
As far as i know the Jira’s REST APIs (including /rest/agile/1.0/sprint/{sprintId}/issue) only return the current value of Story Points. The original value isn’t stored as a separate field—it’s part of the issue’s history.
To get the original Story Point value, you need to:
From the changelog, look for the first entry where the Story Points field was set.
Unfortunately, there’s no single endpoint that gives both current and original values together, you’ll need to parse the history.
Useful links
Hope this helps!
Hi @Christos,
Thanks for your detailed explanation.
I was looking at the changelogs and can see the complete history, including summary, resolution, status, Story Points, and more. My goal is to retrieve only the changes related to Story Points. Is there a way to filter the changelog so that it returns only Story Points entries without having to manually parse all other fields?
Appreciate your guidance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @sarvesh
Please try using the Bulk Fetch Changelog endpoint. That allows selecting the work items and fields, and then you could find the entry with the earliest date / time for the field.
However, for newly created work items or when the Story Points field has not changed, there will be no entries in the changelog. Thus, remember to handle that case and get the current field value.
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.