Hi would anyone know how I can use JQL script to find the parent (Epic issues) that has closed child (Story/Task issues)?
Reason for this is I want to close off the Epic issues when all its children (Stories/Tasks issues) are closed. Once script is working I will subscribe to it to alert me to close the parent (Epic issues)
I have Epic issues that are linked to the Stories and/or Tasks issues via Epic link.
I want to look for:-
If All the Stories and/or Tasks related to the Epic (via epic link) are resolved or closed
Then
return list of the Epic issues
Else
do not return any result
End if