Forums

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

When the Epic of a story changes, how can I use Automation to update the Story Points of the Epic?

Ni Zhang March 31, 2025

For example:

 

 

 

Story B under Epic 1, it has 3 story points, Epic 2 has no story points been entered

Change Story B from Epic 1 to Epic 2

Check Epic 2, will its story points have been updated to 3

------------------------------------------------------------------------------

Check Epic 1, its story points will be updated to 8 instead of 11

In this case, I know configure Scheduled in Automation can implement it. But I find once config Scheduled, I have to set it how often the it will be triggered. Even if during the time, no one story has any its Epic' changes. 
As long as the set trigger time arrives, this rule will be automatically triggered.

In order to save resources, I would like to implement this rule to be triggered only when the Epic of the story is updated. How should I configure this automation?

Thanks all guys' responses!

1 answer

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.
March 31, 2025

Hi @Ni Zhang -- Welcome to the Atlassian Community!

Your rule could use the field value changed trigger, watching for changes to the Parent field, and then use the changelog smart value to update the new and old parent Epics using branching and the Lookup Issues action.  This is a very common community question, and if you search will find several example rules.

And, please note well: what you describe is only one of the possible scenario.  There are several others, so decide which ones you want to handle as the different rules will have different triggers and logic.  For example:

  • when a Story is created with a parent Epic, update the parent
  • when an existing Story has the parent Epic set the first time, update the parent
  • when a Story is changed from one parent Epic to another, update both the old and new parents
  • when a Story is deleted...
  • when the Story Points are updated in a Story with a parent Epic...
  • when someone manually changes the Epic, recalculate from the child Stories
  • etc.

 

Kind regards,
Bill

Ni Zhang April 1, 2025

Hi @Bill Sheboy 

Thanks your reply. 

  • when a Story is changed from one parent Epic to another, update both the old and new parents

    Could you please share a link to this? Thanks 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events