In our instance, a story can have various sub-tasks but will always have a 'QA Task' sub-task. I need to use ScriptRunner to block a specific transition if any sub-tasks are not closed excluding the 'QA Task' sub-task.
I referenced this first example in the documentation with some tweaks, but to no avail (it seems 'passesCondition' is not valid: https://scriptrunner.adaptavist.com/6.4.0-p5/jira/recipes/workflow/conditions/all-subtasks-resolved.html
Can anyone help with producing a simple script that will block the transition (preferably using a validator) unless all sub-tasks except QA Task are closed?
G’day everyone! Super exciting news coming from the Marketplace. We have now fully rolled out the ability for end-users to submit app requests to admins directly from within the product! No longer ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events