Forums

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

Automatically closing main item when last sub-task is closed

Matt Perdeck
Contributor
July 3, 2019

I use a Kanban board with a Scrum development project.

I've seen in the past that Jira has the ability to automatically ask the user whether to close the main item when the last of its sub-tasks is closed. But this isn't happening with my Kanban board.

What specifically triggers Jira to ask the user whether to close the main item? Does this need to be configured?

2 answers

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2019

Hello,

Out of the box the question about closing the parent issue is asked only in the Scrum board.

You would need an add-on to make it work for the Kanban board. You would need an app like Power Scripts, ScriptRunner, Automation for Jira, Jira Misc Workflow extenstions and so on.

You could create a post function to check if all sub-tasks are closed and close the parent issue automatically.

If you want to use the Power Scripts app, you can have a look at this tutorial:

https://confluence.cprime.io/display/TR/Post+Functions#PostFunctions-Auto-transitionparentwhenallsub-tasksareresolved

0 votes
Deleted user July 3, 2019

Hi @Matt Perdeck ,

If you have a JIRA Misc Workflow Extension app, then you can achieve this by adding a post function to the workflow.

Here is some similar question from the community, you can follow from those posts.

https://community.atlassian.com/t5/Jira-questions/Transition-parent-to-close-when-sub-tasks-are-closed-is-not/qaq-p/88697

https://community.atlassian.com/t5/Answers-Developer-Questions/automatic-transition-on-parent-issue-when-all-sub-tasks-are/qaq-p/574212

Regards,
Kishore Kumar Gangavath.

Suggest an answer

Log in or Sign up to answer