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
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)
<ACTION value="name of action" />
Attributes and Elements
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 source control to automatically resolve work items associated with the check-in. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
ACTIONS |
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. |
Remarks
ACTION is an optional child element of ACTIONS.
minOccurs="0"
maxOccurs="unbounded"
Element Information
Namespace |
https://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 |