Поделиться через


WORKITEMTYPE Element (Work Item Type Definition Schema)

Contains the work item type definition.

<WORKITEMTYPE name="work item type name">
    <DESCRIPTION>…</DESCRIPTION>
    <GLOBALLISTS>…</GLOBALLISTS>
    <FIELDS>…</FIELDS>
    <WORKFLOW>…</WORKFLOW>
    <FORM>…</FORM>
</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

Optional element.

Describes the work item type.

GLOBALLISTS

Optional element.

Contains the global list definition.

FIELDS

Required element.

Contains the work item type field definitions.

WORKFLOW

Required element.

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

FORM

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 the root element of the Work Item Type Definition schema.

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

WorkItemType

Can Be Empty

No

See Also

Reference

DESCRIPTION Element (Work Item Type Definition Schema)
GLOBALLISTS Element (Work Item Type Definition Schema)
FIELDS Element (WORKITEMTYPE Element)
WORKFLOW Element (Work Item Type Definition Schema)
FORM Element (Work Item Type Definition Schema)

Other Resources

Work Item Type Definition Schema
Customizing Work Item Types