How to prevent a subtask from being created if the parent is not is a specific state or beyond
Issue #456
resolved
We do not want to allow subtasks to be created unless the parent ticket has reached a particular state or beyond. I have read the documentation but do not understand if this is feasible or not - any assistance would be helpful.
Thank you, Bart
Comments (3)
-
repo owner -
reporter Hi Fidel, That worked - Thank you VERY much for your help!
Bart
-
repo owner - changed status to resolved
You are welcome :)
- Log in to comment
It can be done using validation "Boolean validator with math, date-time or text-string terms" in transition "Create Issue" of subtask's workflow with a boolean expression like any of these:
or
In this example I'm assuming that In Progress, Resolved and Closed are the statuses of parent issue that allow creating subtasks, and Open and Reopened are the ones that don't allow to do it.
Choose the boolean expression that requires to specify less statuses.
Note that %{00042} is field code for Parent's issue status.