Share via


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>, ...

    Separate the team project names with commas (,).

  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

Concepts

Querying for Work Items