ALLOWEXISTINGVALUE Element (Work Item Type Definition Schema)
Defines the field as allow existing value, meaning that the field values that already exist will be allowed, even if they are not valid, but all new field values must be valid.
<ALLOWEXISTINGVALUE />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
---|---|
FIELD (Work Item Type Definition Schema) |
Required element. References a work item field definition and the rules and conditions that apply to the field. The reference is based on the STATE, TRANSITION, DEFAULTREASON, or REASON element that its parent FIELDS element is a child of. |
FIELD (WORKITEMTYPE element) |
Required element. Defines a work item field and specifies the rules and conditions that apply to it. |
WHENCHANGED |
Optional element. Specifies one or more rules to apply to the current field when a specified field is changed. |
WHENNOTCHANGED |
Optional element. Specifies one or more rules to apply to the current field when a specific field is not changed. |
Remarks
ALLOWEXISTINGVALUE is an optional child element of FIELD (Work Item Type Definition Schema), FIELD (WORKITEMTYPE Element), WHENCHANGED, and WHENNOTCHANGED.
Specifying this element under the FIELD (WORKITEMTYPE element) element applies it to the rules defined for the field, including the rules specified in the STATE, TRANSITION, DEFAULTREASON, and REASON elements of the field.
Specifying this element under the STATE element applies it to the rules defined in the state for the field, in addition to the rules defined for the field for all transitions into the state.
Specifying this element under the TRANSITION element applies it to the rules defined in the transition for the field, in addition to the ruled defined for the field in the REASON and DEFAULTREASON elements.
Element Information
Namespace |
https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef |
Schema Name |
Work Item Type Definition |
Validation File |
WorkItemTypeDefinition.xsd |
Element Type |
EmptyRule |
Can Be Empty |
Not applicable |
See Also
Reference
FIELD Element (Work Item Type Definition Schema)
FIELD Element (WORKITEMTYPE Element)
WHENCHANGED Element (Work Item Type Definition Schema)
WHENNOTCHANGED Element (Work Item Type Definition Schema)