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?
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.