Forums

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

Summarize story points of open issues in parent

Nicole Brückner December 13, 2023

Dear community,

I already found the automation rule for summarizing story points into the parent task. This works totally fine (For parent in edit field {{subtasks.Story Points.join(" + ")}}). 

Is there any possibility to sum those story points, where the issue is still open? 

Best regards-,

Nicole

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.
December 13, 2023

Hi @Nicole Brückner 

What do you mean by "still open"?  Do you mean "not done"?

If so, an alternative method to what you show is to use smart value, list filtering with your math expression.  For example,

{{#=}}0{{#issue.subtasks}}{{#if(not(equals(status.name,"Done")))}}+{{Story points|0}}{{/}}{{/}}{{/}}

How this works:

  1. The subtasks are iterated over
  2. And a conditional filter checks for any where the status is not "Done" (Please adjust to match your status name.)
  3. Returning only the matching story points, with a default value of 0
  4. Finally wrapping that entire result as a math expression, with a default value of 0

Please look here to learn more about those techniques:

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events