Hi,
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):
{{currentIssue.key}}
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).
TimK.
Hi! I found the solution. Thanks for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.