Skip to content

Commit ea94b94

Browse files
Merge pull request #8180 from TimShererWithAquent/us449229-10
Freshness Edit: Azure DevOps - Boards & Organizations
2 parents 08b4391 + c43d5bd commit ea94b94

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

docs/organizations/settings/includes/automatic-update-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ms.date: 05/31/2024
99

1010

1111
> [!NOTE]
12-
> 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](../work/manage-process.md).
12+
> When you customize an inherited process, any projects that use the process automatically reflect the customizations. To ensure a smooth transition, we recommend that you create a test process and project to test your customizations before you implement them organization-wide. For more information, see [Create and manage inherited processes](../work/manage-process.md).

docs/organizations/settings/work/custom-rules.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,40 @@
11
---
2-
title: Add a custom rule to a work item type
2+
title: Add a Custom Rule to a Work Item Type
33
titleSuffix: Azure DevOps Services
4-
description: Add a custom rule to a work item type defined for an inherited process and project
4+
description: Learn how to add a custom rule to a work item type defined for an inherited process and project in Azure Boards.
55
ms.custom: inherited-process
66
ms.service: azure-devops-boards
77
ms.assetid: 17A6AF2C-81E9-4717-971E-2621613AEB31
88
ms.author: chcomley
99
author: chcomley
1010
monikerRange: "<=azure-devops"
1111
ms.topic: how-to
12-
ms.date: 06/07/2021
12+
ms.date: 08/04/2025
13+
#customer intent: As a team leader, I want to know how to add rules to work items in Azure Boards.
1314
---
1415

1516
# Add a rule to a work item type (Inheritance process)
1617

1718
[!INCLUDE [version-gt-eq-2019](../../../includes/version-gt-eq-2019.md)]
1819

19-
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.
20+
Custom rules provide support for several business use cases. You can 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.
2021

2122
[!INCLUDE [temp](../includes/note-on-prem-link.md)]
2223

23-
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:
24+
With a custom rule, you can define actions based on specific conditions. For example, you can apply a rule to support these types of scenarios:
2425

25-
- When a value is defined for Priority, then make Risk a required field
26-
- When a change is made to the value of Release, then clear the value of "Milestone"
27-
- When a change was made to the value of Remaining Work, then make Completed Work a required field
28-
- When the value of Approved is True, then make Approved By a required field
26+
- When a value is defined for Priority, make Risk a required field
27+
- When a change is made to the value of Release, clear the value of Milestone
28+
- When a change was made to the value of Remaining Work, make Completed Work a required field
29+
- When the value of Approved is True, make Approved By a required field
2930
- When a user story is created, make the following fields required: Priority, Risk, and Effort
30-
- When current user is a member of "Project Administrators", then make Priority required
31-
- When current user is not a member of "Project Administrators", then hide the Priority field
31+
- When current user is a member of Project Administrators, make Priority required
32+
- When current user isn't a member of Project Administrators, hide the Priority field
3233

3334
> [!NOTE]
34-
> You make a field required and specify a field default through the [**Options** tab for the field](customize-process-field.md#options).
35+
> You make a field required and specify a field default through the **Options** [tab for the field](customize-process-field.md#options).
3536
36-
Prior to defining a custom rule, review [Rules and rule evaluation, Inherited process rule composition](rule-reference.md#ip-rule-composition). For examples that illustrate common scenarios for applying rules, see [Sample rule scenarios](rule-samples.md).
37+
Before you define a custom rule, review [Inherited process rule composition](rule-reference.md#ip-rule-composition). For examples that illustrate common scenarios for applying rules, see [Sample custom rule scenarios](rule-samples.md).
3738

3839
## Prerequisites
3940

@@ -45,27 +46,26 @@ Prior to defining a custom rule, review [Rules and rule evaluation, Inherited pr
4546

4647
## Add a custom rule
4748

48-
You add fields to a selected work item type.
49+
Add fields to a selected work item type.
4950

50-
1. Select the WIT to which you want to add a rule, choose **Rules**, and then choose **New rule**.
51+
1. Select the work item type (WIT) to which you want to add a rule, choose **Rules**, and then choose **New rule**.
5152

52-
> [!div class="mx-imgBorder"]
53-
> ![Process, WIT, Bug, Layout, New rule](media/rules/custom-rule-create-rule.png)
53+
:::image type="content" source="media/rules/custom-rule-create-rule.png" alt-text="Screenshot shows the My Agile Process user story with the Rules tab open ready to create a rule.":::
5454

55-
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](../../../organizations/security/set-permissions-access-work-tracking.md#customize-an-inherited-process).
55+
If you can't fill out the New work item rule dialog, you don't have the necessary permissions to edit the process. See [Customize an inherited process](../../../organizations/security/set-permissions-access-work-tracking.md#customize-an-inherited-process).
5656

57-
1. Name the rule and select the condition(s) and action(s) from the dropdown menus.
57+
1. Name the rule and select the conditions and actions.
5858

5959
> [!TIP]
60-
> Specify a name that builds off the field(s) you're acting on, or the conditions you're setting.
60+
> Specify a name that builds off the fields you're acting on, or the conditions you're setting.
6161
62-
Here we define that the **Acceptance Criteria** field is required when the **State** changes to **Active** and it is currently empty.
62+
This example specifies that the **Acceptance Criteria** field is required when the **State** changes to **Active** and it's currently empty.
6363

64-
<img src="media/process/custom-rule-create-rule-form.png" alt="New rule form" />
64+
:::image type="content" source="media/process/custom-rule-create-rule-form.png" alt-text="Screenshot shows the New work rule form where you specify the rule content.":::
6565

66-
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.
66+
The sequence of actions you specify doesn't affect the behavior of the rule itself or its behavior with respect to other rules defined for the same WIT.
6767

68-
1. Once you've added a custom rule, open a work item and verify that the rule works as you intended.
68+
1. After you add a custom rule, open a work item. Verify that the rule works as you intended.
6969

7070
<a id="delete-disable"> </a>
7171

@@ -75,7 +75,7 @@ You can temporarily disable a rule or delete it altogether.
7575

7676
You delete or disable the rule from the actions menu of the rule.
7777

78-
![Delete or disable a rule](media/process/custom-rule-delete-disable-rule.png)
78+
:::image type="content" source="media/process/custom-rule-delete-disable-rule.png" alt-text="Screenshot shows the option to delete or disable a rule.":::
7979

8080
## Related content
8181

0 commit comments

Comments
 (0)