Querying the "Original Story Points" Custom Field from the Advanced Roadmaps Plugin
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This article explains how to access the values of the "Original Story Points" custom field, which comes from the Advanced Roadmaps plugin in Jira. Though this field's values are not stored in a standard way, users can still query its information using Jira's REST API.
Solution
Identify the Custom Field ID:
- Navigate to Jira Administration.
- Choose Issues > Custom Fields.
- Search for the "Original Story Points" field.
- Click on the three dots (...) next to the field.
- In the URL, you should observe a structure similar to
customFieldId=XXXXX
. Document this ID.
Retrieve Values using the REST API:
- Utilize the
/rest/api/2/search
endpoint. - For the issues you are keen on, pass the field ID you noted down as a
fields
parameter in the request. Use a GET request in the format:
REST Call/rest/api/2/search?jql=project=YOUR_PROJECT&fields=summary,customfield_XXXXX
Replace
customfield_XXXXX
with the ID of the "Original Story Points" field.
- Utilize the