How to: Find Obsolete Work Items

The queries that that are included with Microsoft Visual Studio 2005 Team System automatically exclude obsolete work items. If you must find a work item that has been tagged as obsolete, you must change the query to include them.

Required Permissions

To perform these procedures, you must be a member of the Readers group or have the View work items in this node permission set to Allow. For more information, see Team Foundation Server Permissions.

To create a work item query to find obsolete work items

  1. Open your team project, select the Work Items node, and then select My Queries.

  2. On the Team menu, click Add Query.

    A new query opens.

  3. Select Click here to add a clause to add a new clause, and add the following clause.

    And/Or Field Operator Value

    And

    Reason

    =

    Obsolete

  4. Add other clauses as is required to refine your search.

  5. On the query toolbar, click Run Query to run the query.

  6. You may optionally also want to save the query. For more information, see How to: Save Work Item Queries.

See Also

Tasks

How to: Make a Work Item Obsolete
How to: Run Work Item Queries
How to: Save Work Item Queries
How to: Add, Remove, and Sort Columns in Query Results

Other Resources

Working With Work Item Query Clauses