Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Update several Epics Story points with manual trigger


I created 2 automations to update the Epic story point field with the sum of its story points after an update on one of the stories. One of automation is to update the story point field and the other (with a different filter) is to update a custom field "story points done" on the Epic.

This is working fine but I would like a manuel trigger to cover less frequent scenarios that will not be managed by my automations : moving a story from epic to another, deleting a story, etc. 

This manual trigger will take a group of Epics (found by JQL based on the fix version field) and for each epic do the same sums to update the fields.

I'm not sure how to do that with the lookup and/or branch feature of JIRA automation.

 Any idea?


1 answer

0 votes

Hi @matthieugd 

This is more challenging as you cannot nest branches or directly call one rule from another...however you can trigger one rule from another to do this.  How about this:

  • For your manually triggered rule, for each impacted epic add a special comment: "recalc story points done, requested {{now}}"
  • Add a second rule, triggered on comment matching the pattern and checking the issue type as epic, use your logic to update the custom field.  Please note this rule is triggered by the other, so you need to check the option under rule details: Allow rule trigger.

By the way, for your edge cases you may not need the manual rule for clean-up/catch-up. Instead if you can find a way to catch the event with a trigger then you could also add the same trigger comment to have the epic update.

Best regards,


Thank you Bill, I will give a try !  

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

3,113 views 10 9
Read article

Atlassian Community Events