Work Item Migration from TFS 2008 to 2010

During a migration from TFS2008 to TFS2010 I am currently working on, one of the things we needed to migrate is Work Items.  We have three customized work items, which we need to migrate from one server to another.

The downside, is that when I am running witadmin.exe, I get the error:

TF212018: Work item tracking schema validation error: TF26177: The field System.RelatedLinkCount cannot be renamed from ‘Related Link Count’ to ‘RelatedLinkCount’.

This is happening because the xml has changed between TFS2008 and TFS2010.  Talk about a pain.  However, the fix is fairly painless.  All you need to do is rename RelatedLinkCount in your xml that you’re trying to import to “Related Link Count”.

More than likely you will receive multiple errors that are similar.  Simply rename them all, and it should import.  The ones I constantly ran into:

  • RelatedLinkCount – Related Link Count
  • IterationID – Iteration ID
  • ExternalLinkCount – External Link Count
  • HyperLinkCount – Hyperlink Count
  • AttachedFileCount – Attached File Count
  • AreaID – Area ID

As an aside, always test with the /v, validate, switch to ensure everything in the xml is valid.