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:
Here MBI is parent and we are creating epic under MBI by giving parent link.
Can anyone please help me with this.