Forums

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

How to prevent sub task from transition to in progress if parent task is blocked?

Swarna Radha
Contributor
October 30, 2018

Hi, 

I want to prevent sub task from transition to in progress if parent task is blocked using script runner.

 

Thanks

Swarna

1 answer

0 votes
Mark Markov
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.
October 30, 2018

Hello @Swarna Radha

You can create simple scripted condition on subtask workflow like

issue.getParentObject().getStatus().getName() == "Blocked"
Swarna Radha
Contributor
October 30, 2018

Hi @Mark Markov,

I am not using any status "Blocked" in tasks or subtasks.

I want to prevent sub task from transition to in progress if parent task is blocked 
(using link "is blocked by") using script runner.

Suggest an answer

Log in or Sign up to answer