将 TFS 2010 迁移到 Visual Studio Online [英] Migrating TFS 2010 to Visual Studio Online

查看:20
本文介绍了将 TFS 2010 迁移到 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
  • 区域 ID
  • 附加文件计数
  • 超链接计数
  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆