WORKITEMTYPE Element (Work Item Type Definition Schema)

Contains the work item type definition.

Schema Hierarchy

WITD Element (Work Item Type Definition Schema)

    WORKITEMTYPE Element (Work Item Type Definition Schema)

<xs:element name="WORKITEMTYPE" type="WorkItemType" />

Attributes and Elements

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

Attributes

Attribute

Description

name

Required WorkItemType attribute.

The name of the work item type. Must be 1 to 255 characters.

Child Elements

Element

Description

DESCRIPTION Element (Work Item Type Definition Schema)

Optional element.

Describes the work item type.

GLOBALLISTS Element (Work Item Type Definition Schema)

Optional element.

Contains the global list definition.

FIELDS Element (WORKITEMTYPE Element)

Required element.

Contains the work item type field definitions.

WORKFLOW Element (Work Item Type Definition Schema)

Required element.

Contains a STATES element and a TRANSITIONS element that together define the workflow of the work item type.

FORM Element (Work Item Type Definition Schema)

Required element.

Contains the LAYOUT element that describes how the elements on the work item type form are displayed.

Parent Elements

None

Remarks

WORKITEMTYPE is a required child element of the Work Item Type Definition schema.

minOccurs="1"

maxOccurs="1"

Example

<WORKITEMTYPE name="work item type name">
    <DESCRIPTION>typelib:NonEmptyLargeText</DESCRIPTION>
    <GLOBALLISTS>typelib:GlobalListsDef</GLOBALLISTS>
    <FIELDS>FieldDefinitions</FIELDS>
    <WORKFLOW>Workflow</WORKFLOW>
    <FORM>Form</FORM>
</WORKITEMTYPE>

Element Information

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

WorkItemType Complex Type (Work Item Type Definition Schema)

Can Be Empty

No

See Also

Other Resources

Work Item Type Definition Schema

Customizing Work Item Types