VSTS 2010 – Work Item Relations (Visual)
VSTS 2010 – Work Item Relations (Visual)
This is probably one of the biggest features coming in VSTS 2010 – Work Item Relations (Links).
In VSTS 2008 I wrote couple of custom control to manage the relations between work item Example: Work Item Relation - Custom Control, but VSTS 2010 gives as this feature.
Visual Relation is important and most in each development team, looking at work items and see the relations between those work items is a gift.
So looking at team system Queries you will see a flat view of work items, although you can see links between work items.
This is because you need to change the “Type of Query”.
Click “Edit Query”
And select “Work Item and Direct Links”

Direct Link allows you to map all links between work items and create the hierarchy.
You may notice that “Set up: Set Permissions” & “Set up: Migrate Source Code” appears twice.
This is because “Set up: Set Permissions” is the parent of “Set up: Migrate Source Code” and he is the child.
There is a group of options allow you to filter the work items to show by:
And define the which relation to show.
Now change the “Type of Query” to "Tree of Work Items""
When setting “Type of Query” to Tree of Work Items you will see the full hierarchy between all work items.
How to set Work Item to be child or parent :
1. Right Click

2. Drag and Drop.
3. Right Click “Add New Linked Work item…”
Now you can select the desire “Link Type” for the new Work Items.
Enjoy