Forums

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

Why does this automation to add up story points not work?

deseymour
Contributor
May 19, 2026

I created an automation to add up the story points from tasks within an epic and put them in the epic story points field. It should add them up any time there is a change to any task's story points field. The log says it is doing it, but there is nothing being put into the story points field in the epic. I have attached screenshots of each element of the automation, the audit log, and the epic/tasks where I changed the story points to trigger the rule. Let me know what else might be needed to assist in figuring out why this doesn't work. Thanks in advance for any help.Value change and condition.pngBranch.pngEdit Work Item.pngEpic with tasks.png

1 answer

1 accepted

5 votes
Answer accepted
Trudy Claspill
Community Champion
May 19, 2026

Hello  @deseymour 

First, I have found conditions imbedded within Triggers to be unreliable. You may want to remove that condition from the trigger and add it as a separate Condition component in your rule.

Second in your Edit action you are trying to set the Story Points in the Epic by referencing the {{lookupIssues}} smart value. That smart value is populated by using a Lookup Work Items action, which you have not done. Therefore the smart value has no value, and the Epic gets no value inserted into the Story Points field.

Prior to that step within the For branch, you need to add a Lookup Work Items action to look up the items that you want to include in the story point summation.

Do note that the Lookup Issue action is limited to returning only 100 issues.

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues

deseymour
Contributor
May 19, 2026

Thank you! This fixed it!!

Like # people like this
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 Champions.
May 19, 2026

Hi @deseymour 

Yes, and...to the suggestions from @Trudy Claspill --

For the sum / synch of fields between parent and child work items, there are many ways the values can change...often requiring multiple rules (for just-in-time updates) or a single, scheduled trigger rule (for once-a-day updates).

To learn more, please see this article I wrote on the topic:

https://community.atlassian.com/forums/Automation-articles/Automation-concepts-Sum-or-Synch-Fields-with-Parent-and-Child/ba-p/3162890

The comments to the article also note the recent feature from Atlassian for "formula fields", although that will not help for built-in fields such as Story Points (or Story point estimate for TMP).

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events