Sub-tasks all closed out but parent story gets stuck in open status

Let me preface this question by saying that I've read every Atlassian thread under the sun and I just CANNOT figure this out. Please help if you can!!

I created a custom workflow for a project. In a nutshell: Open -> In Progress -> QA -> Done. Most issue types move along this path perfectly, but as soon as sub-tasks come into the picture, I run into a problem: the parent issue gets stuck in "Open" status even after all child sub-tasks are "Done." More specifically, when all child sub-tasks are "Done" there is a button that appears above the completed child sub-tasks (aligned with parent story) that says "Move To Done" (which seems to indicate that I can manually move the parent story to "Done" now that all of its child sub-tasks are done). However when I click that button, I get this message:

"All sub-tasks for parent issue XXX are now Done. However, the parent issue cannot be moved into the Done column as there are no matching transitions."

Can anyone tell me how to fix this button? Again, the sub-tasks are moving along my workflow path perfectly - it's the parent issues of those sub-tasks that are getting stuck. I think it has something to do with conditions/variables/post fuctions? Just want to get this button working, I'm 100% fine closing parent stories manually once all child sub-tasks are done.

Help, help, 1000 times help :/

4 answers

This widget could not be displayed.

I have the same problem, and none of the above seems to help. Our workflow can transition from TO DO -> DONE. But my story are stuck in TO DO with all subtasks done. Any ideas?

This widget could not be displayed.
Excuse me for the brevity, I'm posting from my phone. I believe you need to make sure your custom workflow is being applied to the stories as well. Then make sure that there is a transition from open to done (or closed)
Perhaps you can post a picture of your text workflow.

Below is a screenshot of my text workflow. I have not figured out how to apply this workflow to different issue types as you say (stories vs. subtasks etc). So that could very well be the problem.

Also I should have mentioned that I have exhaustively tried to apply the right condition and/or post-action here. There is an available condition that states "All sub-tasks must have one of the following statusres to allow parent issue transitions" and an available post-action that states "Post-action transition ___ will be triggered on the issue's parent issue." It seems like one (or both) of these is designed to facilitate what I need but I can't figure out where to apply them or how to apply them correctly.

Ok, I made SOME progress this morning. I confirmed that my custom workflow is being applied to all of my issue types (including stories), and I tried creating a direct transition from "Open" to "Closed" (see below, highighted). Am I on the right track? Again, I just want to be able to close out parent stories manually (via the "Move To Done" button) once all the child subtasks are closed.

I have the same issue. Any update on this?

Hi, I am having the same problem. I was wondering whether anyone found anything on this?  Thanks!

i have exactly the same issue, and haven't found a solution so far sad

The solution is in the picture above. I just had the same when I focussed on moving single stories or sub tasks. The parent story from the sub tasks will move from Open --> Closed.

 

The picture shows that the transition has been added. If there are no specific requirements set (and you saved/publish the workflow off course !! (I forgot it the last time)..) it should work like a charm !

This widget could not be displayed.

I had the same problem and found out the answer the hard way. Make sure the Story itself has an assigned user before you can close it.

This widget could not be displayed.

Might be obvious BUT... 

For us, stories would usually be sitting in backlog as people progressed the status of subtasks associated with that story.

If your story is still in the backlog once all subtasks are completed, make sure you have a transition defined that allows Backlog -> Done (Project Settings -> Workflow -> Diagram -> Add Transition)

 

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you