FieldReference Complex Type (Work Item Type Definition Schema)
Defines the refname attribute and references the PlainRules Group for the FIELD Element.
<xs:complexType name="FieldReference">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:group ref="PlainRules"/>
</xs:sequence>
<xs:attribute name="refname" type="typelib:ReferenceFieldName" use="required"/>
</xs:complexType>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
refname |
Required attribute. The reference name of the field where the rules and conditions are applied. The attribute type is typelib:ReferenceFieldName. Minimum length: 1; maximum length: 70. Pattern value: ^[a-zA-Z_][a-zA-Z0-9_]*(\.[a-zA-Z0-9_])+$ Pattern value example: Company.Division.IssueType The reference name must match the reference name defined in the field definition's FIELD element. For more information, see FIELD Element (WORKITEMTYPE Element). |
Child Elements
None
Parent Elements
None
Remarks
The FieldReference Complex Type is the FIELD Element (WORKFLOW) type.
At least one rule or condition must be specified for FIELD.
Groups
Group |
Description |
---|---|
Required group. Incorporates the Rules Group (Work Item Type Definition Schema) and Conditions Group (Work Item Type Definition Schema) that specify the rules and conditions to use in the FIELD element. |
Element Information
Namespace |
https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef |
Schema Name |
Work Item Type Definition |
Validation File |
WorkItemTypeDefinition.xsd |
Can be Empty |
Not applicable |