Share via


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

  1. Check in your code. Right-click each element you want to check in and then click Check In.

  2. Click Version Control > Pending Objects.

  3. Select the elements you want to check in, and then click Check in.

  4. In Description, provide a meaningful summary of the code you are checking in.

  5. Click the Work items tab.

  6. The grid lists work items that are assigned to you. Select the work items that you want to associate with the check-in.

  7. 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.

  8. Select a check-in action. For example, if you select Resolve for a bug work item type, the associated bug will be resolved.

  9. Click OK.

See also

Version Control System

Working with Team Foundation Work Items