How to: Associate a TFS Work Item with a Check-in
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
If you use Team Foundation Server (TFS) for version control, you can associate TFS work items with the code that you check in.
Using Work Items
A work item is a generic object that has types. For example, a work item could be a requirement, task, bug, scenario, or test case. You can use work item types that are available with Microsoft Team System or you can create new work item types. For more information about work items, see Working with Team Foundation Work Items.
To associate a work item with a check-in
Check in your code. Right-click each element you want to check in and then click Check In.
Click Version Control > Pending Objects.
Select the elements you want to check in, and then click Check in.
In Description, provide a meaningful summary of the code you are checking in.
Click the Work items tab.
The grid lists work items that are assigned to you. Select the work items that you want to associate with the check-in.
If the work item you want to associate with the check-in is not in the list, add it. In the ID field, type the ID of the work item, and then click Add work item.
Select a check-in action. For example, if you select Resolve for a bug work item type, the associated bug will be resolved.
Click OK.