REASONS Element (Work Item Type Definition Schema)

A collection of DEFAULTREASON and REASON elements that define valid reasons the work item can complete the transition.

Schema Hierarchy

WORKITEMTYPE Element (Work Item Type Definition Schema)

    WORKFLOW Element (Work Item Type Definition Schema)

        TRANSITIONS Element (Work Item Type Definition Schema)

            TRANSITION Element (Work Item Type Definition Schema)

                REASONS Element (Work Item Type Definition Schema)

<REASONS>
        <DEFAULTREASON>…</DEFAULTREASON>
        <REASON>…</REASON>
</REASONS>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

DEFAULTREASON

Required element.

Defines a default reason for the occurrence of the transition.

REASON

Optional element.

Defines an additional reason for the occurrence of the transition.

Parent Elements

Element Description

TRANSITION

Required element.

Defines a valid state transition for the work item type.

Remarks

REASONS is a required child element of TRANSITION.

minOccurs="1"

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

Reasons

Can Be Empty

No

See Also

Reference

DEFAULTREASON Element (Work Item Type Definition Schema)
REASON Element (Work Item Type Definition Schema)

Other Resources

Defining Work Item Workflow