Reasons Complex Type (Work Item Type Definition Schema)

Defines the REASON and DEFAULTREASON Elements.

<xs:complexType name="Reasons">
    <xs:sequence>
        <xs:element name="REASON" type="Reason" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="DEFAULTREASON" type="Reason"/>
        <xs:element name="REASON" type="Reason" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
</xs:complexType>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child Elements

Element

Description

DEFAULTREASON Element (Work Item Type Definition Schema)

Required element.

Defines a default reason for the occurrence of the transition.

REASON Element (Work Item Type Definition Schema)

Optional element.

Defines an additional reason for the occurrence of the transition.

Parent Elements

None

Remarks

The Reasons Complex Type is the REASONS Element (Work Item Type Definition Schema) type.

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

See Also

Other Resources

Defining Work Item Workflow