View and Modify Work Items in a Direct Links View (Team Explorer Everywhere)
You can manage and review changes to your work items more easily by using the direct links view. You can find work items that are associated by links by using the Work Items and Direct Links query. Within the direct links view, you can focus on a group of linked work.
A direct links view of work items is especially useful when you want to perform the following tasks:
Review active tasks grouped by feature area.
Assess changes that were made to work items that you do not own but that your work items depend on.
Assess changes that were made to dependent work items at a point in time.
Manage commitments made to other project teams.
Manage cross-group dependencies.
Change link relationships by moving or copying a source work item to a target work item.
You can use the direct links view to list work items which are associated using link types that are based on any type of link. The direct links view can only show one level of dependency. To view multiple levels of hierarchical relationships among work items, use the Tree of Work Items query. For more information, see View and Modify Work Items in a Tree View (Team Explorer Everywhere).
In this topic
Team Explorer Everywhere 2010 does not support the ability to expand or collapse leaf nodes in the results list. It also does not support drag-and-drop operations to change the link associations of work items. To change link associations, you must modify the work item. For more information, see Create or Delete Relationships Between Work Items (Team Explorer Everywhere).
After your query is defined, you can save it in order to reuse it or share it with other team members. For more information, see Organize and Set Permissions on Work Item Queries (Team Explorer Everywhere).
To perform these procedures, you must be a member of the Readers group or your View work items in this node permission must be set to Allow. To save a query as a team query, you must have the appropriate permissions set. For more information, see the following topic on the Microsoft Web site: Team Foundation Server Permissions.
To create a direct links view query
Expand your team project, expand the Work Items node, right-click Team Queries or My Queries, and then click New Query.
For the type of query, click Work Items and Direct Links.
Specify the filter criteria for the top tier of work items:
Click each column in the query clause to fill in the clause. If a column has a list of accepted values, click the arrow and select one from the list. For a description of the available columns, see Query Fields, Operators, Values, and Variables (Team Explorer Everywhere).
Click the * in the left-most column to add a new clause, and specify the values for Field, Operator, and Value.
Repeat step 3b to add all of the filter criteria that will return the list of work items that you want. Group or ungroup clauses as needed. For more information, see Specify Query Criteria.
Right-click in the query editor and click Run Query.
You can also click Run Query on the toolbar.
Repeat steps 3c and 3d until you get the set of work items that you want.
(Optional) To narrow your search more, you can specify the filter criteria for linked work items:
Filter Criteria for Linked Work Items
Specify the And linked work items that match the query below. Perform the same sequence of steps provided above in step 3.
To add another clause to the query, click the * in the left-most column, and specify the values for Field, Operator, and Value. Specify In as the Operator value to filter link types that belong to a set, for example Fulfilled by.
Select the Linking Filters that will additionally filter your first-tier list of work items as follows:
Return all top level work items: All first-tier work items are returned regardless of the linked work items filter criteria. All second-tier work items that are linked to the first tier are returned based on the linked work items filter criteria.
Only return work items that have the specified links: Only first-tier work items are returned that have links to work items specified by the linked work items filter criteria.
Only return work items that do not have the specified links: Only first-tier work items are returned that do not have links to work items specified by the linked work items filter criteria.
(Optional) Click Return selected link types, and then select one or more of the available check boxes for the link types to include in your criteria.
On the toolbar, click Run Query, and confirm that your query returned the results that you expected.
Modify the filter criteria that you specified in steps 4a, 4b, or 4c and then repeat step 4d until you get the first and second-tier of work items that you want.
(Optional) On the toolbar, click Column Options to modify which columns appear in the query results. For more information, see Add, Remove, Reorder, and Sort Columns (Team Explorer Everywhere).
(Optional) On the File menu or the toolbar, click Save. For more information, see Save, Copy, Rename, and Delete Work Item Queries (Team Explorer Everywhere).
To change a query to a direct links view query
Expand your team project, expand the Work Items node, expand Team Queries or My Queries, right-click the query that you want to modify, and then click Edit Query.
To select the type of query, click Work Items and Direct Links.
(Optional) Modify your query filter criteria as needed.
On the File menu or the toolbar, click Save.