Parent task status and subtask transitions

Stephan Hostie March 5, 2014

Hello,

need some help for something that I don t find in the various help.

I want to prevent sub-tasks performing some transitions as long as the parent issue is in a defined state.

Example: Parent Task in in Backlog, subtask too. As long as Parent Task is not in state ToDo, subtasks cannot pass the transition to ToDo (or any further).

Any scripted code, or plugin available for this?

1 answer

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2014

Conditioned validator can be added to the transition. It can be used to specify various regex conditions using Substitution variables and prevent the transion if the conditions are not met. An error message for the user can also be constructed with substitution variables. This is a general validator that requires some regex knowledge (How to use pattern matching conditioning). You could also write a specific validator script using Script runner. There are a few other validator plugins as well that cover some cases.

Suggest an answer

Log in or Sign up to answer