Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines a default reason for the occurrence of 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)
DEFAULTREASON Element (Work Item Type Definition Schema)
<DEFAULTREASON value="value of default reason">
    <FIELDS>…</FIELDS>
</DEFAULTREASON>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description | 
|---|---|
value  | 
Required Reason attribute. The value of the default reason for the transition (for example, Fixed).  | 
Child Elements
| Element | Description | 
|---|---|
FIELDS (Work Item Type Definition Schema)  | 
Optional element. Specifies a collection of FIELD elements that reference the field definitions that are contained in the work item type.  | 
Parent Elements
| Element | Description | 
|---|---|
REASONS  | 
Required element. Specifies a collection of DEFAULTREASON and REASON elements that define valid reasons the work item can complete the transition.  | 
Remarks
DEFAULTREASON is a required child element of REASONS.
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  | 
Reason  | 
Can Be Empty  | 
Not applicable  | 
See Also
Reference
FIELDS Element (Work Item Type Definition Schema)