States Complex Type (Work Item Type Definition Schema)

Defines the STATE element. One or more STATE Elements each define a valid state (such as "Active," "Resolved," or "Closed") that can be applied to a work item.

<xs:complexType name="States">
    <xs:sequence>
        <xs:element name="STATE" type="State" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
</xs:complexType>

Attributes and Elements

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

Attributes

None

Child Elements

Element

Description

STATE Element (Work Item Type Definition Schema)

Required element.

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

Parent Elements

None

Remarks

The States Complex Type is the STATES 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

See Also

Other Resources

Defining Work Item Workflow