if !blogClogged

Software development and other stuff.

Posts Tagged ‘TFS Integration Platform

Those Pesky SfTS Link Types and the TFS Integration Platform

leave a comment »

Recently I was performing an TFS to TFS Work Item Migration in which the source Team Project had been originally created with version 2.x of Scrum for Team System on TFS 2008 then upgraded to TFS 2010. Not long after moving to the Team Project to TFS 2010 (or at the time of moving it) it was effectively stripped of the reliance on Scrum for Team System in that the TFS 2010 environment didn’t have a version installed and all the work items moved to use of the TFS 2010 link types built into the system.

As I was migrating the work items over to a test Team Project that was based on the Microsoft Scrum V1 template I noticed that I was not getting the links between work items as expected. I double checked and all the relationships I could see looked like the standard link types. It should just work.

Being familiar (though a little forgetful) with Willy-Peter Schaub’s post on just this sort of issue I decided it wouldn’t hurt to add in the code for link mappings:

   1: <LinkTypeMapping

   2:     ...  

   3:     LeftLinkType="Scrum.ImplementedBy" 

   4:     ...

   5:     RightLinkType="Microsoft.TeamFoundation.Migration.TFS.LinkType.WorkItemToWorkItem" 

   6: /> 

My links then began to appear. I would imagine that it was the historical links that was causing the problems. Either that or somewhere current there still sat some reference to the Scrum.ImplementedBy.

The lesson being that even if the Scrum for Team System link is only in the history it will still prevent the present links from migrating. At least I think that is the lesson. Without digging deeper and looking at the work items now and historically I can’t be certain. I’ll report back if I decide to confirm that all present links were standard and it was only the history that presented the problem.

Advertisements

Written by Michael Ruminer

April 5, 2012 at 1:02 am

%d bloggers like this: