Defining Field Rules
Field rules define the behavior and constraints on fields. Field rules are additional elements that are listed inside <FIELD></FIELD> blocks. For example, if a field is required, the XML that defines the field might look as follows:
<FIELD refname="System.Priority" name="Priority" type="String"> <HELPTTEXT>Enter the business priority of the bug</HELPTEXT> <REQUIRED /> </FIELD>
In This Section
- Available Field Rules
-
Describes the field rules that define the behavior and constraints on fields.
- How to: Add a Rule to a Field
-
Describes how to add a rule to a work item type field by modifying the work item type XML file.
- How to: Define a Rule Based on a Group
-
Describes how to scope a rule to a work item type group by modifying the work item type XML file.
- Defining Field Lists
-
Describes how field lists are used to define allowed values for a field. Field lists provide list items that users can select.
- Field Conditions
-
Describes how to define rules that are run conditionally.
- Using Tokens to Reference Users and Groups
-
Describes how the work item type definition language supports tokens for referencing users and groups.