What is the difference between creating a sub-task underneath a parent task vs. simply linking a task to a parent task? When use linking and when sub-tasks? What are the advantages/disadvantages of these two relationships?
Is a link automatically created when creating a sub-task? Can I also add a 'blocking' relationship to sub-tasks?
Do any of these relationship types interfer with one of the Agile project management tools Scum or Kanban?
Thanks for clarifying - I'm confused.
Imagine an issue named "Create a pizza for Frank on 3/7/13". you might find such tasks as "gather the incredients" and "cook the pizza." you might also find another issue named "Create a pizza for Frank on 3/8/13." Those two pizzas for Frank would be linked. I hope that illustrates the difference between the two.
To your other questions:
Thanks Tanner for the reply!
But could it also make sence to put tasks "gather the incredients" and "cook the pizza" etc as steps into the workflow and not create seperate sub-tasks? After all, they do happen after each other... But I think I understand the main features of tasks/sub-task vs links now.
Lets say the parent issues are more like "Create a pizza for Frank on 3/7/13" and "Create a hot sandwich for Frank on 3/8/13" to differentiate the two parent tasks more as in the situation I am facing (although they do have some things in common). If an issue comes up along like "salami gone bad" (buy new salami), would you assign this issue as sub-task or just link this issue to the parent as "blocker"?
Michael, I like to differentiate between sub-tasks and links (all functionality available aside), in that sub-tasks are small pieces of work necessary to complete a task which encompasses them, and linked issues are related to that work but don't necessarily cause any conflict or dependencies (although they *can*). Using this pizza/sandwhich anolgy further:
Make pizza for Frank (task)
Roll out dough (sub-task of above task)
Add sauce and cheese (sub-task of above task)
Buy sauce (task) - linked to Make pizza for Frank issue as a blocker; buying sauce is not actually a part of making the pizza for Frank, but is is separate thing that has to happen so the pizza can be made. Does this make sense? :)
What is the difference between creating a sub-task underneath a parent task vs. simply linking a task to a parent task?
Creating a sub-task under a parent will give it the relationship of parent-child. This has the child appear in the sub-task section within the story, it gives the child a parent link upwards in the hierarchy of a project, it allows you to easily invoke transitions on children/parent that may require more advanced techniques if it were a link, it allows you to easily grab specific sub-task types within the JQL functions when filtering by project, JIRA has automatic and helpful task management features when tasks are linked via the parent-child ideas.
Linking is a method of connecting multiple tasks that do not require an existing relationship by simply passing one of them a key. You will need to manually create links between items or create transitions that link for you and the automagic of some features by JIRA will not work with links. You can manually create networks of relations and designate the relation with the options JIRA has available (blocks, associated, etc.), and even search for those types of relationships via JQL.
When to use linking and when sub-tasks?
Sub-task functionality really shines when you are breaking down something large into smaller chunks that are all very inter-related. It works seamlessly with estimates like story points, time estimates, or tasks percentage complete.
Linking really shines when you have complex tasks that are seemingly unrelated and can standalone, but you have miscellaneous threads that tie the items together. Linking also helps when you are using multiple projects to track a single effort.
You can use both while tracking a project, they are not mutually exclusive.
What are the advantages/disadvantages of these two relationships?
Organization and how you search for things is going to differ pretty drastically. These can be mitigated by being clever of how you link or import things. The automatic linking of child-parent and the built in support by JIRA for sub-tasks is a huge advantage. Links work across projects and have unique identifies like blocking or associated, so that is neat.
Is a link automatically created when creating a sub-task?
Can I also add a 'blocking' relationship to sub-tasks?
Only if you have a plug in. Although, I don't see why you would want a sub-task to block its parent? The sub-task can be in progress, which means it's parent is in progress, not blocked. Or you can just block the sub-task by using a "Blocked" status, which can transition upwards easily.
Do any of these relationship types interfere with one of the Agile project management tools Scrum or Kanban?
They are unique ways of linking tasks and should have little to no affect on your production methodology. I prefer parent-child, because JIRA likes it more than links. But... Scrum means sprints, points, estimates, splitting up work; you should use tasks with sub-tasks here and linking tasks together when it makes sense.
At the end of the day, sub-tasks are easier and have more support via JIRA. Links are manual, but have more flexibility. Why use one when you can do both?
Hey Community, Atlassian Summit is coming to Las Vegas, Nevada on April 9 – 11, 2019 and we hope to see you there! It's an event that will inspire you and make you rethinks the way your team works....
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs