Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Functional work item search command filters let you search for work items more precisely by assignment, work item type, specific fields, and more. For more filter functions, see Get started with search.
Work Item Search lets you do the following tasks and more.
Search task | Description |
---|---|
Search over all your projects | Search in your own and your partner teams' backlog. To search across your entire enterprise's work items, use cross-project searches. Narrow your search by using project and area path filters. |
Search across all work item fields | Quickly and easily find relevant work items by searching across all work item fields, including custom fields. Use a full text search across all fields to efficiently locate relevant work items. The snippet view indicates where matches were found. |
Search in specific fields | Use the quick in-line search filters to narrow down to a list of work items in seconds. Use the filters on any work item field. The list of suggestions helps complete your search faster. For example, a search such as AssignedTo:Chris WorkItemType:Bug State:Active finds all active bugs assigned to a user named Chris. |
Search across test | Search across Test Plans, Test Suites, and other test work item types. |
Take advantage of integration with work item tracking | The Work Item Search interface integrates with familiar controls for managing your work items; letting you view, edit, comment, share, and more. |
Enter the work item ID in the Azure DevOps title bar. You can read and edit the work item in a modal dialog.
Search all work item fields, including custom ones, for natural searches. The following snippet view shows matches.
The main search function and managed queries are two ways to find and list work items. For a single work item, use the main search. For a list of work items that you want to triage, update, chart, or share, use a managed query.
You can search more fields with the main search function than with managed queries.
Use a managed query
Search
For more information, see the following articles:
To fine-tune your search, specify fields. Search all assigned items by entering a:
and a user name.
Quick filters:
a:
for Assigned to:c:
for Created by:s:
for Statet:
for Work item typeStart entering the name of a field in your work items; for example, enter ta
.
The dropdown list shows work item field name suggestions that match user input. These suggestions help you complete the search faster. For example, a search such as tags:Critical
finds all work items tagged 'Critical.'
Add more filters to further narrow your search, and use Boolean operators to combine terms if necessary. For example, a: Chris t: Bug s: Active finds all active bugs assigned to a user named Chris.
Narrow your search to specific types and states, by using the selector lists at the top of the results page.
Widen your search across all projects, or narrow it to specific types and states. Use the filter to show the selector lists.
Select the criteria you want in the drop-down selector lists, or search across the entire organization.
Sort the results with the drop-down list of field names, work item types, or by relevance.
Quick inline search filters let you refine work items in seconds. The dropdown list of suggestions helps complete your search faster. Mix and match the functions to create quick powerful searches.
Usage | Example |
---|---|
Scope your search terms to match in any work item field, including custom fields. Enter the field name followed by the search terms. | tags:Critical finds work items with a 'tags' field containing the term 'Critical.' |
Use multiple inline search filters to scope your search by any work item field, including custom fields. | t: Bug path:"project\search" finds all bugs in the area path "project\search." |
Use the operators > , >= , < , <= , = , and != for date, integer, and float fields. |
t: Bug CreatedDate> @Today-7 finds all bugs created in the last week. |
For search queries containing multiple terms, use quotes to group the terms. However, quotes don't yield exact matches as you might expect; results match any work items containing the grouped terms in any order. | BuildPath: "tools.demoproject.com" finds work items that contain the path "tools.demoproject.com." |
Filters make it easy to narrow the search to specified projects and area paths.
Narrow the search to a specific location using the proj
, area
, iteration
, path
, and comment
filters:
Usage | Example |
---|---|
Finds all occurrences of the word Wiki in the Fabrikam project. | Wiki proj:Fabrikam |
Finds all occurrences of the word Wiki in the area path Contoso/Mobile and its subpaths. | Wiki area:Contoso/Mobile |
Finds all occurrences of the word Wiki in the iteration path Contoso/Sprint101 and its subpaths. | Wiki iteration:Contoso/Sprint101 |
Enclose the argument to the filter in double-quotes if it contains a space. | Wiki path:"Contoso/Windows Phones and Devices/Services" |
Finds backlog comments | comment:todo |
You can quickly get a full screen view of the selected work item using expand and
shrink in the toolbar. However, another way to see more of the work item, while you can still
select work items from the list of matching results, is to hide the left column filter pane
by choosing < at the top left of the column. Use > to restore the filter pane.
If you're using a portrait orientation screen, use the Preview pane: Right link at the top right of the window to display the code below the search results list.
Tip
Search remembers the state of the filter pane, configuration of the work item view pane, and its position between sessions as part of your user preferences.
You can use APIs to extend or supplement the capabilities listed in this article. For information about Work Item Search with REST API, see Fetch Work Item Search Results.
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Search and filter knowledge articles by using Dynamics 365 Customer Service - Training
Learn how to search and filter knowledge articles by using Dynamics 365 Customer Service.
Documentation
Use semantic searches in Azure Boards and Azure DevOps - Azure Boards
Learn how to use the search box to quickly filter for assigned to, created by, state, or work item type in Azure Boards and Azure DevOps.
Search across Azure DevOps - Azure DevOps
Quickly search within Azure DevOps, across all your code, wiki, packages, and work items.
Link work items to other objects - Azure Boards
Learn how to link work items to user stories, bugs, remote work items, a git branch, and other elements in Azure Boards.