将TFS 2010迁移到Visual Studio Online [英] Migrating TFS 2010 to Visual Studio Online
问题描述
我已经安装了OpsHub VSO迁移实用程序,并且正在尝试迁移我们最小的项目之一作为测试.
I've installed the OpsHub VSO Migration Utilty and I'm trying to migrate one of our smallest projects as a test.
已经在VSO中创建了一个新的匹配项目,迁移验证因模板不匹配而失败.
Having created a new matching project in VSO the migration validation fails on the template mis-match.
现有的TFS 2010项目基于MSF for Agile Software Development v5.0模板,而新的VSO项目是MSF for Agile Software Development 2013.3
The existing TFS 2010 project is based on the MSF for Agile Software Development v5.0 template and the new VSO project is MSF for Agile Software Development 2013.3
据我所知,这两个模板均未自定义.
As far as I'm aware, neither of these templates have been customised.
对于每种工作项类型,不匹配的字段为:
For each work item types the mismatched fields are:
- RelatedLinkCount
- AreaID
- AttachedFileCount
- HyperLinkCount
- ExternalLinkCount
- 迭代ID
该实用程序的安装版本为v1.1.0.005
Installed version of the utility is v1.1.0.005
任何帮助都会感激不尽.
Any help would be gratefully received.
推荐答案
在TFS 2005/2008到TFS 2010之间,过程模板已更新,以在您提到的每个字段的显示名称中添加额外的空格.既然是这种情况,您可以采取一些简单的步骤来解决,然后重新运行OpsHub Visual Studio在线迁移实用程序.
Between TFS 2005/2008 to TFS 2010, the process templates were updated to add an additional space in the display name of each of the fields you mentioned. Since that's the case, you can take some easy steps for a workaround and then re-run the OpsHub Visual Studio Online Migration Utility.
您将要使用 witadmin.exe
工具,特别是 changefield
选项.以下是您要更改每个字段的显示名称以包含空格的步骤:
You'll want to use the witadmin.exe
tool and specifically the changefield
option. Here are the steps you'll want to take to change the display names of each of the fields to include the spaces:
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.RelatedLinkCount /name:"Related Link Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.AreaId /name:"Area ID"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.AttachedFileCount /name:"Attached File Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.HyperLinkCount /name:"Hyperlink Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.ExternalLinkCount /name:"External Link Count"
witadmin.exe changefield /collection:http://tfs.contoso.local:8080/tfs/DefaultCollection /n:System.IterationId /name:"Iteration ID"
尝试一下,希望它对您有帮助!
Give those a try and I hope it works out for you as a workaround!
这篇关于将TFS 2010迁移到Visual Studio Online的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!