On this page
Example: Prevent addition of new sub-tasks if the parent issue is in "Resolved" or "Closed" status
Let's see how to prevent addition of new sub-tasks if parent issue is in status "Resolved" or "Closed".
You only have to add validator Validation based on regular expression to transition "Create Issue" with the following configuration:
Once configured "Create Issue" transition looks like this:
Other examples of that function
- Make "Affects Version/s" mandatory when issue resolution is "Fixed"
- Make a custom field mandatory when Priority is "Critical" or "Blocker"
- Make a custom field mandatory when priority is "Critical" or "Blocker" and issue type is "Incident"
- Make certain custom field required in resolve screen only if the resolution was set to "Fixed"
- Prevent addition of new sub-tasks if the parent issue is in "Resolved" or "Closed" status
- Validation on issue attachments
- Validation on the value of a Cascading Select field