1
votes

Unfortunately we've got the problem that we have to "migrate" work items of type "User Story" to another customised work item type in the same Team Project on our TFS 2010 installation.

I managed to get most of the field mapping working using the TFS Integration tool and the IntegrationPlatformMappingTool (can be found on Codeplex). I do, however, not know how I can migrate the information about linked work items to the new work item type. In the work item type definition for the User Story I usually have a "Field Name" for each control in the associated form, e.g. System.AreaPath or something similar. For the links I don't have that information, the Work Item Type designer only shows a control of type "LinkControl" with an empty field name.

Is there a way to also migrate existing links when using the TFS Integration tool? How would I do this in the mapping file?

Thank you,

G.

2

2 Answers

1
votes

I don't say it's an "acceptable answer" but Links are not field in Work Item, that's why you can't find a mapping for them.

This post tends to confirm that you won't have links between work item migrated, but only link between changeset and work item.

I can't help you further but it's a start (and better than nothing! :))

1
votes

If you are using the TFS Integration Platform (http://tfsintegration.codeplex.com/), there is a specific section for migrating links over. Here would be an example

<Linking>
  <LinkTypeMappings>
    <LinkTypeMapping LeftMigrationSourceUniqueId="{GUID for Left Migration Source}" LeftLinkType="System.LinkTypes.Dependency" RightLinkType="System.LinkTypes.Dependency" RightMigrationSourceUniqueId="{GUID for Right Migration Source" />
  </LinkTypeMappings>
</Linking>

These definitions are not part of the field mapping section of the configuration XML, but exist at the same level as the Sessions element.