Automation to sum up story points to epic level - how to update previous epic?

Martin Härri
Contributor
December 3, 2024

We want to implement an automation to sum up story points to epic level. So the trigger could be when the field story points is changed or when the field epic link is updated. In this case, the total of story points on epic level should be updated.

So far so good, BUT: what if I move an issue from one epic to the other? This means that the total of the NEW epic should be updated (all fine), but also the total of the PREVIOUS epic (which is now reduced). How can I trigger that, since the old epic link is not not an attribute of the issue anymore.

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 3, 2024

Hello @Martin Härri 

If you use the Field Value Changed trigger for the Parent field then you can access the original value of the field. Refer to the {{fieldChange}} smart value described on this page:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

When you get that value you can use a Branch and use the Advanced Branching on smart value to shift focus to the Epic under which the issue was previously a child.

If that is not sufficient information for you to proceed please provide screen images that show the entire rule you use currently to make the updates when the Epic changes.

 

Suggest an answer

Log in or Sign up to answer