I’ve struggled with this problem a lot of times and I wasted lots of time understanding how Jira deal with it.
Finally I understood how Jira works and I’m very happy about that!
There are lots of topics where people ask about how to move a parent task to done when all sub issues are completed.
The basic Jira workflow (v 7.0) support this by default, but how does it work?
It depends on the statuses of your board.
First of all, the parent issue must be IN PROGRESS (in reality must be to the status before the DONE status) not in TODO, and considering that Jira doesn’t move it automatically you’ve got to do it manually or creating a post function with Script runner for Jira (I’ll create a dedicated post with some post functions I’ve written)
Another required condition is that the next status of the parent issue must be mapped to the last column (done?) of your board.
It doesn’t matter what status is the next status of the story but it must be mapped in the last column. For example if the parent status is currently in progress and the next status is “ready to deploy”.
My Subtasks has this workflow:
TO DO –> IN PROGRESS –> RESOLVED
MY Parent Issue (story) has this workflow:
TO DO –> IN PROGRESS –> TO DEPLOY –> ect
Here some pictures to understand it better.
If you answer Cancel Jira will show the button “Move to done”