You can customize the search for work items by creating
queries. A query consists of conditions that your search is based
on. For example, you can create a query that returns all open work
items for the current iteration. You can create as many queries as
you want.
Before you begin
Before creating a query, you must be connected to the project
area.
About this task
Rational Team Concert™ Client
for Microsoft® Visual Studio
IDE uses
the Web client to create queries. You can create queries for either
your own use or for sharing it with the whole team.
To create a
query:
Procedure
- In the Team Artifacts tool window,
expand the project area node, right-click Work Items and
click . Alternatively, you can create queries from
the Work Items tool window by clicking
icon. The Web browser opens.
- Log in to the Web client. The query editor
opens.
- Type in the query name and specify the conditions.
- Click Save. To view the newly created
query, refresh the Work Items folder.
What to do next
Now, you can run the query from the
Team Artifacts window
or from the
Work Items window.
To run a query
from the
Team Artifacts window:
- Expand the Work Items folder; then the My
Queries folder.
- Double-click a query or right-click a query and click Show
Work Items
To run a query from the
Work Items window:
- From the Work items toolbar, click
.
- In the Run Query window, select a query and
click OK.