Automatically transition issue when all linked issues are resolved?

We want to setup a post-function that resolves an issue when linked issues are resolved (if there are linked issues to the issue). So as an example, if "is blocking" issues are resolved, it will automatically resolve "is blocked by" issues.

Looking at Scriptrunner's "Fast-track transition an issue" but unsure of the condition to use. Or open to other solutions (maybe a Bob Swift solution?)

1 answer

1 accepted

I assume you are looking at the documentation at https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_fast_track_transition_an_issue which includes how to transition a parent issue when all linked tasks are closed. The example provided in here showing auto closure refers to subtasks and the entry needs to go on the workflow of the subtask to trigger the check and potential closure. 

If however, you are looking at any linked issues I assume that you have a business case similar to this...

All related issues are linked together and when one is resolved then all such issues should be resolved automatically.

For this you should probably check the link is of a specific type and again the post-function would go on the closure transition in the workflow applying to each issue.

Without checking your link type you risk closing all issues regardless of whether they meet your business case or not.

Perhaps you could confirm in more detail the business case you are trying to solve?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,117 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot