I have a parent task, it has 5 subtasks. I need to close the parent task based on how the subtasks are closed.
2 of the subtasks are Cancelled, 2 subtasks are Denied and the fifth subtask is Approved. so the parent task should be closed as Approved. How do I do this?
It looks like Script Post-function might work, but I am not a script writer at all and would have no idea where to begin.
I have Jira server 7.6.1 and Script Runner 5.3.26,