Migrate Workitems from local TFS into VSTS

六月ゝ 毕业季﹏ 提交于 2020-01-30 06:01:04

问题


I'm migrating our local TFS to VSTS (Cloud TFS). Everything worked fine so far, but now I want to migrate all the existing workitems to the VSTS. I have searched the internet for a solution and found some articles. They suggested to use some CMD-Line Tools to migrate workitems from TFS, but unfortunately, all of them threw some error messages.

Does anyone have a quick and safe way to migrate the workitems.


回答1:


TFS has three options for scoping and scaling data - deployments, team project collections, and team projects. Team projects are used to encapsulate the assets of individual software projects, including source code, work items, and so on.

  • If you don't mind losing work item history, you could just pull over work items, using Excel. Details steps please refer this blog- -Migrating TFS Work Items to a new Team Project using Excel (TFS/VSO/VSTS) or this thread- -Migrating Work Items from TFS 2017 to VSTS

  • If you have no work item customisation, then OpsHub is also an option.

  • If you have work item customisation and need keeping histroy , then you are going to have to use TFS Integration Platform.

You could also use some customize powershell script or 3-party tool such as VSTS Sync Migration Tools for migrating WI with attachments.

More ways and detail explanation please have a look at jessehouwing's answer in this question: How to migrate work items from TFS to VS Team Services (VS Online)




回答2:


The best option (which I'm surprised Patrick-MSFT didn't mention) is a direct TFS import to VSTS.

As long as you're on a supported version of TFS, you can just take your Team Project Collection and have it directly imported into VSTS, with full fidelity migration of all data, including work items.



来源:https://stackoverflow.com/questions/46050215/migrate-workitems-from-local-tfs-into-vsts

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!