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.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

In automation like to chek the status of two issues linked status

Tanveer Zubair March 21, 2025

 

 

 

 

 

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 image.pngimage.png

 

for your support.

1 answer

0 votes
kiestone
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 21, 2025

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events