You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to create an automation in JIRA software that updates a field of a parent issue when all the child issues are "done"
Why is this automation not working? I add a screenshot
Thank you in advance
Hi @Mario Palacios Fernández, I would recommend you branch using lookupIssues.
Regard a branch as iterating x times. That means you cannot retreive an issue key from a list (a collection) using "list.field" syntax as in your example where it is lookupIssues.key (ref plural.singular).
You will need to fetch every issue from the list. This can be done by branching by lookupIssues.
Below you see the principle on how it can be done:
In the branch, to fetch the issue key for the current iteration, you can use the following smart value (created in the Variable name):
The key is to fetch the current issue during the loop.
You might solve it by using variables and smart value list functions but will be complicateed (not recommended when alternatives as above exists).
Hi Mario. I found an Automation Template that looks like it will do the job for you. Once you get to Automations, there's a templates tab and at the bottom, there's a 'See more templates in our automation library' link. I've included a link here to it, take a look and see if it would work for you. Update Parent Automation
Hope that helps