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?)
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?
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot