Forums

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

How can i get the sum of of all subtasks except epic and story to parent epic parent using smart val

Mehdi Bouazza February 18, 2023

Hi Atlassian community

I want to create an automation that autocalculate sum of all worklog subtasks except Story and Epic and set the sum to parent Epic 

automation.PNG

 

issue.childissue.timeSpent.sum get me the sum of all subtasks ,how can add a condition in this smart value ??

{{#=}}{{issue.childissue.timeSpent.sum}} / 60{{/}}

 

Thank you 

1 answer

1 accepted

1 vote
Answer accepted
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.
February 18, 2023

Hi @Mehdi Bouazza -- Welcome to the Atlassian Community!

Perhaps try using the Lookup Issues action, with JQL that narrows the issues to just the ones you want.  And then sum the values from the returned issues.

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