Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×
I am working on a Jira automation rule where I retrieve two issues that are linked through a branch issue. My goal is to verify whether both of these linked issues are in the “Complete” status before updating the status of the branch issue accordingly.
I have included the current automation rule and its corresponding log for your reference.
Specifically, I would like to confirm whether the outward linked issues are in the “Complete” state so that I can proceed with the next action.
I would greatly appreciate it if you could assist me with the appropriate JQL to incorporate into this automation.
Thank you
for your support.
Instead of looping through each issue, have you considered using a query (lookupIssues) to lookup the status of all of the linked issues. You would either get no issues or issues returned depending on your query, which would allow you to determine whether to transition your ticket.
status != "Completed" and issue in linkedIssues(“{{issue.key}}”, “inward”)
I chose inward here, because you would be looking at the query from the other perspective.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.