I'm trying to solve a problem in one of our projects. Our project involves many sub-task types used simultaneously under a base-level issue/story. My goal is to establish a rule that will prevent a status change on the base-level issue until all the sub-tasks of a specific type are in a "done" status category but will allow other sub-task types to be in varying status categories. I've been able to do this if ALL sub-tasks are "done" but not for just specific type(s).
Our instance does have scriptrunner. Are there any recommendations to solve our issue, or does anyone have experience doing the same?
Hi Mat! Here's a proposed solution.
1. Create a custom field named "Can Transition" with a default value of "True."
2. In the workflow for the "base-level issue," create a condition for all transitions that checks whether the value in the "Can Transition" field is "True."
3. Then, create a Jira Automate rule that sets the field to "False" if a new sub-task is created.
4. Create another rule that sets the field to "True" when all sub-tasks are closed.
Remember to set the correct value for the "Can Transition" field on existing base-level issues.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.