Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Close Parent task based on how the Subtasks are closed

Linda H September 10, 2018

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, 

1 answer

0 votes
Vaibhav singh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2018

Hi Bud,

 

Looking at your requirement I think this add-on will assist you if you do not want to script, however it is a commercial add-on.  [JMWE|https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions?hosting=cloud&tab=overview]

 

Found a similar article to your question, the only thing you will need to make sure in addition to the resolution in that article is to ensure that the parent task only closed after all sub-task are closed. Make sure that if one approves it gets auto approved and closed.

https://community.atlassian.com/t5/Answers-Developer-Questions/Help-with-Parent-Transitions-upon-Sub-Tasks-Transitioning/qaq-p/495747

 

Hope this helps!

 

Cheers.

Suggest an answer

Log in or Sign up to answer