I'm using the Scriptrunner - Fast-track transition function in one of my workflow transition. The function should only fire , if all subtasks are resolved.
Can somebody give me a hint how the code should look like?
i searched a bit for myself and had following solution
def subTasks = issue.getSubTaskObjects()
subTasks.each {
if(!issue.getResolution()){
false
}
}
But the function will fire nevertheless 