Sự kiện
21 giờ 17 thg 3 - 10 giờ 21 thg 3
Tham gia chuỗi buổi gặp gỡ để xây dựng các giải pháp AI có thể mở rộng dựa trên các trường hợp sử dụng trong thế giới thực với các nhà phát triển và chuyên gia đồng nghiệp.
Đăng ký ngayTrình duyệt này không còn được hỗ trợ nữa.
Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.
Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
You can create queries based on how one field's value compares to another using the comparison field operators. This query is useful to filter work items based on:
Category | Requirements |
---|---|
Access levels | - To view and run shared queries: Project member. - To add and save a shared query: At least Basic access. |
Permissions | Contribute permission set to Allow for the folder that you want to add a query to. By default, the Contributors group doesn't have this permission. |
Lưu ý
Users with Stakeholder access for a public project have full access to query features just like users with Basic access. For more information, see Stakeholder access quick reference.
Category | Requirements |
---|---|
Access levels | - To view and run shared queries: Project member. - To add and save a shared query: At least Basic access. |
Permissions | Contribute permission set to Allow for the folder that you want to add a query to. By default, the Contributors group doesn't have this permission. |
You can use the comparison field operators—=[Field], <>[Field], >[Field], <[Field], >=[Field], <=[Field]
—with the following field data types. The data type you select for the Field and the Value must match.
=[Field], <>[Field]
Lưu ý
Some combinations of data type and comparison field operator might not make sense to use, such as Title >=[Field]
or Assigned To <=[Field]
.
Filter for
Include these query clauses
Work items closed by someone other than the person who created the work item
Created By <>[Field] Closed By State = Closed
Tasks whose Original Estimate is less than Completed Work
Original Estimate <=[Field] Completed Work
Closed tasks completed before their target date
Target Date <=[Field] Closed Date State = Closed
The following table provides an index to those fields that support field comparison queries.
Lưu ý
Not all fields listed are supported for all projects or work item types. However, you can customize a process or work item type by adding custom fields which you can use for the purposes of queries and field comparisons. For more information, see Add a custom field to a work item type (Inheritance process) or Add or modify a field (Online XML process).
To programmatically interact with queries, see one of these REST API resources:
Sự kiện
21 giờ 17 thg 3 - 10 giờ 21 thg 3
Tham gia chuỗi buổi gặp gỡ để xây dựng các giải pháp AI có thể mở rộng dựa trên các trường hợp sử dụng trong thế giới thực với các nhà phát triển và chuyên gia đồng nghiệp.
Đăng ký ngayĐào tạo
Lộ trình học tập
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
Chứng chỉ
Minh họa cách đặt cấu hình triển khai Microsoft Dynamics 365 for Field Service để tối đa hóa các công cụ và tính năng có sẵn trong khi quản lý một lực lượng làm việc trên thiết bị di động.
Tài liệu
Query by account, user, workflow, or board changes in Azure Boards - Azure Boards
Learn how to list work items based on changes made to their assignment, state, or board column or swimlane in Azure Boards.
Use an index to query examples, tasks, operators, and macros - Azure Boards
Learn how to use an index to query operators, macros, and sample queries that are used to list work items for Azure Boards and Azure DevOps.
Query by area or iteration path in Azure Boards and Azure DevOps - Azure Boards
Learn how to query for work items based on their area or iteration path in Azure Boards and Azure DevOps.