Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

block parent task completion based on subtask?

John Howell
September 19, 2022

In Jira Software it is possible to modify workflow such that tasks cannot be marked done unless all subtasks are also done (ref: https://support.atlassian.com/jira-cloud-administration/docs/configure-sub-tasks/)

I can't see a way to do this within Jira Work Management within the standard Team project transition settings.

Does anyone know if it is possible to create this dependency on subtasks in JWM?

1 answer

1 accepted

1 vote
Answer accepted
Mizan
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 Champions.
February 8, 2012

Hi Srinivas ,

There might be many better ways to do this , but according to me the easiest way would be to create a groovy script validator(requires script runner plugin) which checks the 2 customfield if there is a value in first customfield and not in the second, then an error message which will prompt to fill the second customfield. And add this validator on the create step/transition.

srinivasp
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 Champions.
February 8, 2012

Hi Mizan,

Sounds like apt solution for my requirement. Appreciate if you could share some links or steps related to this requirement as i have no idea about groovy script validator configurations.

Thanks..

Mizan
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 Champions.
February 8, 2012

these are few links you will find useful

about script runner plugin in the below link

https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner

there is a similar script in the below link

https://studio.plugins.atlassian.com/wiki/display/GRV/Validators

srinivasp
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 Champions.
February 8, 2012

Hi Mizan,

Thanks for sharing the information.

Will try to work out this and post an update on the status.

Thanks..

Suggest an answer

Log in or Sign up to answer