REST API to update Estimate Points of Epic in Jira Align
Platform Notice: Cloud and Data Center - This article applies equally to both cloud 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 provides a REST API 'PATCH' query to update an Epic with Estimate Points that are linked to Program Increment or Release ID
Solution
The below query uses the Epics endpoint ( /align/api/epcis/{id} ) to update an Epic with a single Program Increment, where 778 is the ReleaseID for the Program Increment
1
2
3
4
5
6
7
8
9
10
11
[
{
"op":"replace",
"path":"/releaseIds/0",
"value":778},
{
"op": "replace",
"path": "/points/0/releaseId",
"value":778
}
]
The below query uses the Epics endpoint ( /align/api/epcis/{id} ) to update an Epic with multiple Program Increments, where 630 and 632 are the releaseIDs for two Program Increments
1
2
3
4
5
[{"op":"replace","path":"/releaseIds/0","value":632},
{"op": "replace", "path": "/points/0/releaseId","value":632},
{"op":"replace","path":"/releaseIds/1","value":630},
{"op": "replace", "path": "/points/1/releaseId","value":630}]
Was this helpful?