• Community
  • Products
  • Jira
  • Questions
  • Can I create a story that requires all tasks (not sub-tasks) to have a status of done before the story status can be done?

Can I create a story that requires all tasks (not sub-tasks) to have a status of done before the story status can be done?

We need the ability to enforce a workflow with User Stories such that all Tasks for a specific User Story must be Done before the User Story can be marked as Done. This is similar to the current functionality that exists for Tasks and Sub-Tasks. The result being that Stories can have Tasks that have Sub-Tasks. Current, when a Sub-Task is complete, the Task can be complete, We want to extend that up one level so that the Task must be complete before the Story can be complete,.

1 answer

1 votes

How are you telling JIRA that an issue at the same level as the Story is a related task?

That is the question. By default, a Story and a Task are simply Issue Types (i.e, the have the same level as each other). This as opposed to Issues and Sub-Tasks, which are not at the same level, and JIRA supports enforcement of completion of Sub-Tasks related to Issues, We want to go one level deeper and create a relationship from Story to Task to Sub-Task (i.e., Story becomes a grandparent of a sub-task).

I'm afraid you can't do that. Jira only has Issue and sub-task levels. You can have many types of sub-task, but that's it, just two layers. There is an open issue for "sub tasks should be able to contain their own sub-tasks", but it's not seen a lot of movement over the years, and there are a number of hideous bodges talked about in places (they all break Jira in spectacularly interesting ways). The only safe work-around at the moment is to use the Structure plugin.

(unless someone else has written a similar plugin that's demonstrably reliable)

Thank you, Nic, for such a quick response and guidance towards the Structure plug in. It says "Create structures for your project, your team, your personal backlog. Arrange issues in meaningful hierarchies of any depth." That is intriguing if it works and can be tied to workflows. Thanks again!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot