To integrate a tool with Work Item Tracking, the tool must perform the following steps:
Determine what state the work item should be transitioned to when the action is performed.
Set the work item to the "to" state.
The Work Item Tracking API provides methods for performing these steps. The Work Item Tracking API is part of the Microsoft Visual Studio Team System SDK on the Microsoft Web site.
The transaction action that caused a particular state transition to occur is not recorded. If you need to track what action caused a transition, you can specify an additional work item field to track it, or define a Reason value specific to the action, which is set during the state transition.