Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

WITD Element (Work Item Type Definition Schema)

    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)

<xs:element name="REASONS" type="Reasons"/>

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

Element

Description

TRANSITION Element (Work Item Type Definition Schema)

Required element.

Defines a valid state transition for the work item type.

REASONS is a required child element of TRANSITION.

minOccurs="1"

maxOccurs="1"

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

Namespace

http://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

Reasons Complex Type (Work Item Type Definition Schema)

Can Be Empty

No

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft