Hello, I am running into an issue with getting this automation to update the indicated field in the Lookup issue. it currently only re updates the current ticket, even though the lookup successfully finds the ticket I am looking for.
Current logic (as I understand it): Rule triggered when any ticket is created > Re fetch the ticket info > If ticket has "Manager Form" Proceed > Lookup ticket that matches specific criteria > In the ticket that was looked up, update the "Distro List" field
Everything looks good, until the last step where it just updates itself and not the looked up ticket. I'm hoping I am just missing something simple here :)
Hello @Stephen Herrmann
Welcome to the Atlassian community.
You need to change the focus of the rule to the issues that you found. As your rule is currently structured the focus is still on the issue that triggered the rule.
Rather than using a Lookup Issues action I recommend that you use a For Each branch selecting Related Issues / JQL. Branching changes the focus to the issues that are found by the branch criteria and executes the specified actions for each issue found by that criteria. In the branch configuration you would use the JQL that you currently have in your Lookup Issues action.
Keep the steps you currently have between the trigger and the Lookup Issue action. Replace the Lookup Issues action with the For Each branch. Pull the edit action into the branch.
Hey Trudy,
Thank you for this. Adding a single branch with my search did indeed select the desired ticket :) This allowed me to use the copy form function as well, instead of me copying the fields out of the form. So win win here :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.