Share via


STATES Element (Work Item Type Definition Schema)

Specifies a collection of STATE elements that define the valid states that the work item type can be in.

Schema Hierarchy

WORKITEMTYPE Element (Work Item Type Definition Schema))

    WORKFLOW Element (Work Item Type Definition Schema)

        STATES Element (Work Item Type Definition Schema)

<STATES>
    <STATE>…</STATE>
</STATES>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

STATE

Required element.

Defines a valid state for the work item type and contains a FIELDS element that defines the field values for the state.

Parent Elements

Element Description

WORKFLOW

Required element.

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

Remarks

STATES is a required child element of WORKFLOW.

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

States

Can Be Empty

No

See Also

Reference

STATE Element (Work Item Type Definition Schema)

Other Resources

Defining Work Item Workflow