Is it possible not to close a story depending upon priority of a subtask.

sam b January 22, 2018

Hi,

If a story has a sub-task with high priority and still in "In progress" state , i want a workflow that story cannot be closed until the sub-task is done. ( Note: If sub-task has low priority the parent can be closed irrespective of sub-task status).

Can someone help me out with this. Thanks

1 answer

0 votes
Alexey Matveev
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.
January 22, 2018

Hello,

You would need an add-on for it like Power Scripts or Adaptivist ScriptRunner.

You could write your own validator for the Close transition in the Story issue type. The validator would check all your requirements and if your requirements are not fulfilled, your validator would cancel the transition.

If you use Power Scripts, you can find examples here:

https://confluence.cprime.io/display/TR/validators

sam b January 23, 2018

Okay. Thanks for the reply. will try script runner

Suggest an answer

Log in or Sign up to answer