Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Summarizing points from specific types of children on parent

Derek Knudsen August 21, 2024

We use custom subtasks to gather front end and back end developer effort (story points) related to a parent ticket.  I want to create automation so that when story points of these issues types are changed that the values are (re)summed in the corresponding field on the parent.  So for example for my "FE Sub-task" child type, if a FE Sub-task is added to a Story and it's Story Points set then automation would update the field "FE Story Points" on the parent.  This is straightforward to do for all subtasks with Smart Values -  {{issue.subtasks.Story Points.sum}} - but I don't know how to do this for specific types of subtasks.  Can you do it with Smart Values? 

1 answer

1 accepted

2 votes
Answer accepted
Kalyan Sattaluri
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.
August 21, 2024

Hello @Derek Knudsen 

There are many ways to solve this. One way is to use lookupIssues.

After your trigger, do lookupIssues with

JQL = parent = {{issue.key}} and issuetype IN ("FE Sub-task" , "BE SubTask")   for example.

Then you can get sum as {{lookupIssues.Story Points.sum}} which you can use to update your fields.

 

Another way is to use conditional logic in smart values to filter for your issue types of interest..

Both achieve the same result Hope it helps and if stuck, please share screenshot of the rule. Thanks!

Derek Knudsen August 21, 2024

@Kalyan Sattaluri this worked great!  Thanks for the help!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events