You can’t stack rank hierarchical work items?
Join the DZone community and get the full member experience.Join For Free
at the mvp summit i was appalled by the number of people who asked questions about new features for supporting hierarchical tasks ! i shared a disgusted look with peter provost and we had a quick (and i mean really quick) conversation that resulted in this post. it really comes down to one thing:
you can’t stack rank hierarchical work items?
if you want to continue to be competitive in the world of modern software development you need to be able to effectively order (stack rank) a list of well understood items. this could be at the pbi (or product backlog) level or it could be at the task (or sprint backlog) level but i need to be able to do that ordering by moving things about… how do i do that with a tree?
no really! lets look at a couple of specific questions:
- what do you expect to happen when you reorder “pbi 3” above?
this has to be the expected out come because of that pesky parent / child relationship.
what would you expect to happen when you drag “pbi 8” to be between “pbi 1” and “pbi 2”?
figure: was that what you expected?
if you said that it would move to the right location then you also get a prise, but what do you think happened to the parent relationship with “pbi 3”? thats right, it was removed as that item can no longer exist as a child or “pbi 3”…
note: you can keep the relationship by creating it as a “related” relationship, or you could add a custom one.
so what is the expected behaviour when you discover a pbi that is too large (for whatever reason) and you want to break it down into two smaller ones. once you have broken a pbi down into two smaller ones that encompass all of the things we need to make the larger one what purpous does it solve… have we not just replaced it? well then, lets remove it.
this only makes sense as i have all of the relevant information in the two new pbi’s.
if i look at the history for that “removed” pbi i can, and i will, be able to see all of the history including that the links to the children still exist. this means that you can still query and see what those relationships were without them interfering with the backlog any more.
let me jus say that i am not suggesting that you do not use linking, there are many links that are and should be available. which of those links are good to use, provide value and make sense for both the team and your product owners:
tasks with a parent / child relationship with a pbi
you need for your team to be able to keep track of the work that they are doing to achieve a single pbi and this is that. there are other options, but this is the best one.
test cases with a tests / tested by relationship with a pbi
you want to be able to trace from code to requirements to bugs all with the relevant tests that make sure that we built the correct thing.
bugs that have a tests / tested by
i would expect this to be a no-brainer as you can’t have a bug unless you can prove that it exists. bugs have “steps to reproduce2 after all and in the post mtm world this is the result of a failing test case.
i a using the visual studio scrum 2.0 template (default) so while you can make things more complicated, this is about as complex and the expected common cause use cases go with work items. there are other artefacts links to support things like test results, code reviews, feedback results and others, but they are tool bits not really that user configurable.
i am always interested in finding out what other scenarios there are out there:
do you agree?
what reasons do you have for using hierarchy’s?
Opinions expressed by DZone contributors are their own.