Restrict sub-task creation until the Parent is in a specific status
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Limit the creation of sub-tasks in a project until the parent task is in a designated status.
Environment
Jira cloud
Solution
To implement restrictions on the creation of subtasks within a project, depending upon the status of the parent issue:
Add a distinct workflow for the sub-task issue type within the specified project.
Configure a validator in the create issue transition workflow
The validator suitable for use in this scenario is the Parent Status Validator.
- Add the validator and publish changes made to the workflow
This will prevent the user from creating a subtask until the parent task is not in that particular status.