How to: Query Several Team Projects

If you are working on several team projects in Team Foundation Server, you may want to search through all of them with a single query. For information on creating a simple query, see How to: Add New Work Item Queries.

Required Permissions

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

To query several team projects

  1. In the first query clause, enter the values shown in the following table:

    And/Or

    Field

    Operator

    Value

     

    Team Project

    In

    <first team project name>, <second team project name>, ...

    Important noteImportant Note:

    Separate the team project names with the list separator for the regional settings that are defined for your client computer (for example, a comma).

  2. Enter other query clauses as desired.

  3. Run the query.

See Also

Tasks

How to: Add New Work Item Queries

How to: Add or Remove Work Item Query Clauses

How to: Group or Ungroup Work Item Query Clauses

How to: Run Work Item Queries

Change History

Date

History

Reason

July 2010

Corrected information about how to delimit items that you specify as a Value in a query.

Customer feedback.