Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the original Story Point value of an issue via API

sarvesh
Contributor
September 21, 2025

 

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!

2 answers

2 votes
Christos Markoulatos
Community Champion
September 21, 2025

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:

  • Use the Issue Changelog via the Search API with expand=changelog, or
  • Call the Issue API with expand=changelog.

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!

sarvesh
Contributor
September 22, 2025

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!

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2025

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.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-changelog-bulkfetch-post

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events