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 work item type.
<xs:complexType name="WorkItemType">
    <xs:sequence>
        <xs:element name="DESCRIPTION" type="typelib:NonEmptyLargeText" minOccurs="0"/>
        <xs:element name="GLOBALLISTS" type="typelib:GlobalListsDef" minOccurs="0"/>
        <xs:element name="FIELDS" type="FieldDefinitions"/>
        <xs:element name="WORKFLOW" type="Workflow"/>
        <xs:element name="FORM" type="Form"/>
    </xs:sequence>
    <xs:attribute name="name" type="typelib:NonEmptyPlainConstant" use="required"/>
</xs:complexType>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description | 
|---|---|
| name | Required attribute. Specifies the name of the work item type. The attribute type is typelib:NonEmptyPlainConstant. Minimum length: 1; maximum length: 255. Pattern value: ^[^\\]*$ Pattern value example: Task | 
Child Elements
| Element | Description | 
|---|---|
| Optional element. Describes the work item type. | |
| Optional element. Contains the global list definition. | |
| Required element. Contains the definitions of the fields that belong to this work item type. | |
| Required element. Contains a STATES element and a TRANSITIONS element that together define the workflow of the work item type. | |
| Required element. Contains the Layout element that defines how the elements on the work item type form are displayed. | 
Parent Elements
None
Remarks
WorkItemType is the WORKITEMTYPE 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 |