3

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.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
Adrian Melzer
  • 159
  • 1
  • 1
  • 9

2 Answers2

3

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.

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)

PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62
  • *Daniel* is right, if you are working with *TFS 2017 Update 1/ Update 2* , the recommend and clean solution is using [**TFS Database Import Service**](https://www.visualstudio.com/en-us/articles/migration-overview). Sorry for miss this point. – PatrickLu-MSFT Sep 06 '17 at 03:03
3

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.

Daniel Mann
  • 57,011
  • 13
  • 100
  • 120
  • I have an old TFS 2010. Can I upgrade locally to a trial version of TFS 2017, so I can migrate to VSTS? – Pascal Oct 13 '17 at 19:52