Forums

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

Epic sum automation rule not working

Lewandowski, Mikolaj June 29, 2022

Hello,

I have scanned all post about summing up Epic's tasks and still didn't find solution to my problem - while changing "Story points" value on child task, rule executes and show that did the modification but nothing is actually changing in Epic (parent) task.

 

Funny thing is, that for my other JIRA account (other Client), both solutions are working. 

I used that one: for editing field: {{lookupIssues.Story Points.sum|0}}

auto1.png

auto2.png

I also took another recommended approach - still not working:

 

auto3.png

Any idea?

 

2 answers

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.
June 29, 2022

Hi @Lewandowski, Mikolaj -- Welcome to the Atlassian Community!

Is this for a company-managed project (CMP) or a team-managed project (TMP)?

CMP use the "Story points" field and TMP use the "Story point estimate" field, and so the correct field must be used in the lookup when summing for such a rule to work.

Kind regards,
Bill

Lewandowski, Mikolaj June 30, 2022

Hello, company is using Story Points field:

auto5.png

 

when I've changed rules to use "Story point estimates" as suggested, rules seems not even recognizing any changes on the field values. 

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.
June 30, 2022

I was suggestion if you are using a team-managed project to change the values, however it appears you are not.

Smart values are case-sensitive, so check if this is the problem by updating the edit to this:

{{lookupIssues.Story points.sum|0}}
Lewandowski, Mikolaj July 5, 2022

Yes, thank You. 

When I am using

{{lookupIssues.Story Points.sum|0}}
or, as suggested

{{lookupIssues.Story points.sum|0}}

 the same thing happens - "Success" but nothing is changing.

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.
July 5, 2022

Please try writing that value to the audit log to see what appears...

  • If the value is blank/absent in the audit log...
    • the lookup is empty (e.g. JQL problem) or
    • the source issues have no story point values
  • If the value is present, something else is preventing the field update
0 votes
Fabian Lim
Community Champion
June 29, 2022

Hi @Lewandowski, Mikolaj

Based on the error it looks like your epic may have stories from other projects and if that is the case you need to change the scope to multiple projects in the global automation settings.

Lewandowski, Mikolaj June 29, 2022

Hello @Fabian Lim 

thank Your for Your reaction, but tasks were created in the same project and all having the same X5 prefix:

auto4.png

Suggest an answer

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

Atlassian Community Events