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
Custom rules provide support for a number of business use cases, allowing you to go beyond setting a default value for a field or make it required. Rules allow you to clear the value of a field, copy a value into a field, and apply values based on dependencies between different fields' values.
Quan trọng
The Inheritance process model is available for projects configured to support it. If you’re using an older collection, check the process model compatibility. If your on-premises collection is configured to use the on-premises XML process model, you can only use that process model to customize the work tracking experience. For more information, see Choose the process model for your project collection.
With a custom rule, you can define a number of actions based on specific conditions. For example, you can apply a rule to support these types of scenarios:
Lưu ý
You make a field required and specify a field default through the Options tab for the field.
Prior to defining a custom rule, review Rules and rule evaluation, Inherited process rule composition. For examples that illustrate common scenarios for applying rules, see Sample rule scenarios.
For guidance on tailoring Azure Boards to align with your specific business requirements, see About configuring and customizing Azure Boards.
Category | Requirements |
---|---|
Permissions | - To create, delete, or edit a process: Member of the Project Collection Administrators group or specific collection-level permissions Create process, Delete process, Edit process, or Delete a field from organization set to Allow. For more information, see Set permissions and access for work tracking, Customize an inherited process. - To update boards: Team Administrator or a member of the Project Administrators group. |
Access | - Even if you have Basic or lower access, you can still change a process if someone gives you permissions to do so. - To update and change the type of your existing work items: Member of the project. |
Project process model | - Have the Inheritance process model for the project collection containing the project. - If migrating data to Azure DevOps Services, use the Team Foundation Server Database Import Service. |
Knowledge | Familiarity with the customization and process models. |
Sign in to your organization (https://dev.azure.com/{yourorganization}
).
Select
Organization settings.
Select Process.
Sign in to your collection (https://dev.azure.com/{Your_Collection}
).
Select Collection Settings or Admin settings.
Select Process.
Lưu ý
When you customize an inherited process, any projects using that process automatically reflect the customizations. To ensure a smooth transition, we recommend creating a test process and project, which allows you to test your customizations before you implement them organization-wide. For more information, see Create and manage inherited processes.
You add fields to a selected work item type.
Select the WIT to which you want to add a rule, choose Rules, and then choose New rule.
If you can't fill out the New work item rule dialog, you don't have the necessary permissions to edit the process. See Set permissions and access for work tracking, Customize an inherited process.
Name the rule and select the condition(s) and action(s) from the dropdown menus.
Mẹo
Specify a name that builds off the field(s) you're acting on, or the conditions you're setting.
Here we define that the Acceptance Criteria field is required when the State changes to Active and it is currently empty.
The sequence of actions you specify doesn't impact the behavior of the rule itself or its behavior with respect to other rules defined for the same WIT.
Once you've added a custom rule, open a work item and verify that the rule works as you intended.
You can temporarily disable a rule or delete it altogether.
You delete or disable the rule from the actions menu of the rule.
Lưu ý
Review changes made to an inherited process through the audit log. For more information, see Access, export, and filter audit logs.
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
Mô-đun
Define and create business rules in Microsoft Dataverse - Training
The ability to build business rules that ensure consistent business logic whatever app is accessing that data set is imperative to a successful business operation. This module will show you how you can build business rules that are triggered anytime they're used within Dataverse.
Chứng chỉ
Được Microsoft chứng nhận: Power Automate RPA Developer Associate - Certifications
Minh họa cách cải thiện và tự động hóa dòng công việc với nhà phát triển Microsoft Power Automate RPA.
Tài liệu
Default rule reference - Azure DevOps
Default rules and the rule engine
Customize the web form to an inherited process - Azure DevOps Services
Customize the web form for a work item type and Inheritance process model for a project
Restrict workflow transitions and apply rules to workflow states - Azure DevOps Services
Learn how to apply rules to workflow states to restrict transitions.