FIELDS Element (Work Item Type Definition Schema)
Specifies a collection of FIELD elements that reference the field definitions contained in the work item type.
<FIELDS>
<FIELD>…</FIELD>
</FIELDS>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element | Description |
---|---|
FIELD |
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. |
Parent Elements
Element | Description |
---|---|
STATE |
Required element. Defines a valid state for the work item type and contains a FIELDS element that defines the field values for the state. |
TRANSITION |
Required element. Defines a valid state transition for the work item type. |
DEFAULTREASON |
Required element. Defines the default reason for the occurrence of a state transition. |
REASON |
Optional element. Defines other reasons for the occurrence of a state transition. |
Remarks
FIELDS is an optional child element of STATE, TRANSITION, DEFAULTREASON, and REASON.
minOccurs="0"
maxOccurs="1"
Element Information
Namespace |
https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef |
Schema Name |
Work Item Type Definition |
Validation File |
WorkItemTypeDefinition.xsd |
Element Type |
FieldReferences |
Can Be Empty |
No |
See Also
Reference
FIELD Element (Work Item Type Definition Schema)
STATE Element (Work Item Type Definition Schema)
TRANSITION Element (Work Item Type Definition Schema)
DEFAULTREASON Element (Work Item Type Definition Schema)
REASON Element (Work Item Type Definition Schema)