Forums

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

How to add values of a smart value list

Matěj Hájek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2025

Hey Im working on a automation rule nad got stuck on adding up value of a smart value list im creating.

The rule should add up all time spent on closed children of Epic. Then it should add up all reaming estimate on non-closed children. Then it should add up these two values and insert it into the Epics Original Estimate field, and in a comment under the Epic.

Would appreciate any help, thanks!

image.png

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.
January 13, 2025

Hi @Matěj Hájek -- Welcome to the Atlassian Community!

A rule branch will not work to sum the values of the issues found by the JQL: such branches execute in parallel and asynchronously, and so the variables (and any issue updates) will be repeated created / destroyed with each pass through the loop.

Instead please try using the Lookup Issues action with that JQL and the sum function, as shown here in the documentation:

Kind regards,
Bill

0 votes
Trudy Claspill
Community Champion
January 12, 2025

Hello @Matěj Hájek 

Welcome to the Atlassian community.

What is the output in the Audit Log when this rule is executed?

What values do you expect the variables to end up having?

Does the image show the entire rule? If not, please provide a new image that does show the entire rule.

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