Export (0) Print
Expand All
Expand Minimize

ACTION Element (Work Item Type Definition Schema)

Defines an action string that can be used when calling the WorkItem.GetNextState method to get the post-action state of the work item. For more information, see the WorkItem.GetNextState method in the Microsoft.TeamFoundation.WorkItemTracking.Client namespace in the Team Foundation Server SDK included in the Visual Studio SDK.

Schema Hierarchy

WITD Element (Work Item Type Definition Schema)

    WORKITEMTYPE Element (Work Item Type Definition Schema)

        WORKFLOW Element (Work Item Type Definition Schema)

            TRANSITIONS Element (Work Item Type Definition Schema)

                TRANSITION Element (Work Item Type Definition Schema)

                    ACTIONS Element (Work Item Type Definition Schema)

                        ACTION Element (Work Item Type Definition Schema)

<xs:element name="ACTION" type="typelib:ListItem" minOccurs="0" maxOccurs="unbounded"/>

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

Attributes

Attribute

Description

value

Required typelib:ListItem attribute.

The name of the action that causes the transition. For example, Microsoft.VSTS.Actions.CheckIn is used by version control to automatically resolve work items associated with the check-in.

Child Elements

None

Parent Elements

Element

Description

ACTIONS Element (Work Item Type Definition Schema)

Optional element.

Defines a collection of ACTION elements that each define an action string that can be used when calling the WorkItem.GetNextState method to get the post-action state of the work item.

ACTION is an optional child element of ACTIONS.

minOccurs="0"

maxOccurs="unbounded"

<ACTION value="name of action" />

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

typelib:ListItem

Can Be Empty

Not applicable

Community Additions

ADD
Show:
© 2014 Microsoft