Check workflow status of the child issues when moving parent transition

Geethanjali S J October 7, 2021

Hi All, 

This Jira expression we have already in the  scriptRunner script in validators in jira cloud.

This validator ensures all subtasks of a parent issue are in the In progress workflow step before the parent issue can be Transitioned to In progress. i.e, 

issue. subtasks. filter(subtask => subtask. status. name ==`In Progress`). length == issue. subtasks. length

Now we need to change this as per our requirement I tried but iam not able to get solution. 

Our requirement is to check the child issues whether all are in done status then only we can move parent to complete status. 

But here our hierarchy level is:

Initiative

MBI

Epic

Here MBI is parent and we are creating epic under MBI by giving parent link. 

Can anyone please help me with this. 

Thanks, 

Geethanjali. 

1 answer

0 votes
Brody September 13, 2022

Were you ever able to resolve this?

Suggest an answer

Log in or Sign up to answer