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 :/
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.
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 !
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)
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG