Bagikan melalui


Resolve data conflicts (publish and refresh)

A data conflict occurs when you try to publish a work item from Excel or Project and the version of that work item differs from the version in the work item database. The following example shows how two team members can create such a conflict.

  1. A team member opens a copy of a work item in a work item list in Office Excel or Office Project.

  2. Team member A edits the work item and makes one set of changes.

  3. Team member B edits that same work item and makes a different set of changes, and publishes those changes.

  4. Team member A finishes editing the work item and tries to publish the changes to the work item.

  5. Team Foundation displays the Work Item Publishing Errors dialog box, which shows items that it could not published.

To resolve a data conflict

  1. In the Work Item Publishing Errors dialog box, for each work item in the Unpublished work items box that has Conflict in the Issue column, follow these steps.

    1. In the Unpublished work items box, click the work item.

      The Details area shows a list of conflicts for the selected work item. The Conflicting field column shows the name of the field in which the conflict occurs. The Local version and Server version columns show the local and server data, respectively, and a check box appears next to the data in each of these columns.

    2. For each row in the Details box, select the check box next to the correct value.

      If you select the local version, the data in Office Excel or Office Project overwrites the data on the server. If you select the server version, the server data overwrites the data in Office Excel or Office Project.

  2. Click Publish.

    Note

    This step publishes only the work items that you corrected. If you do not resolve all data validation errors related to a work item, that work item is not published.

See Also

Tasks

Resolve invalid links in an Excel tree list

Resolve data validation errors (publish and refresh)

Concepts

Work in Microsoft Excel and Microsoft Project connected to Team Foundation Server