Check if all linked issues with trigger issue are resolved

Simon Shtipelman March 9, 2023

Hi all,

I am trying to create an automation that will check to see if all linked issues to the trigger issue are in resolved. If yes, transition the issue to the next status in the workflow. 

My current automation is setup to check for multiple different stages in the workflow but if I need to break it up so that the automation is only for the specific step that is fine. 

I feel like there should be a jql query that will do what I want but I am not able to figure it out. Any help would be greatly appreciated!

Here is the automation. The trigger is a schedule for now.

jira automation related issues condition.jpgjira automation linked issues.jpg

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
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 9, 2023

Hi @Simon Shtipelman - Your rule looks ok to me, but I would change from resolution = Done to resolution != Unresolved.  I would imagine that you'd still want the issue to transition on other resolution types (e.g. "Won't Do", "Duplicate", "Declined", etc. ).  

What problems are you running into with the rule? 

Simon Shtipelman March 9, 2023

Hi @Mark Segall

In this instance I want to make sure the linked issues are all completed before the ticket is allowed to progress to the next status in the workflow.

I did finally figure out the query in JQL:

issuelink = {{issue.key}} and resolution is not empty

The one I had before would give me over 10k results. 

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events