Visual Studio Online migration (VSO to VSO) - tfs

We are attempting to migrate from one Visual Studio Online account to another Visual Studio Online account. This is different from an on-premise TFS to Visual Studio Online migration. Most articles explain a migration using the on-premise to VSO approach, only.
Accounts
https:\vsoaccount1.visualstudio.com\DefaultCollection
https:\vsoaccount2.visualstudio.com\DefaultCollection
For TFS to VSO, we found a solution by using OpsHub Visual Studio Online Migration Utility.
We also tried to use the same tool to point to another Visual Studio Online account as a source, but it fails stating that we can only point to a TFS instance.
Can this be done via scripting? If so, how? If there is a tool available, that would be great also. This should be a one time migration.
Update:
We need code only, including changesets, no work items. The project is using TFVC.

You can consider using TFS Integration Platform

For others that stumble across this thread, I have found this - the Visual Studio Team Services Sync & Migration Engine an open source project that appears to do TFS-TFS, TFS-VSTS, VSTS-TFS and VSTS-VSTS migration. It is an open source project initiated with the same purpose as the TFS Integration Platform, but to address some of the complexities (and the fact that it is now deprecated).
From the web site:
Visual Studio Team Services Sync & Migration Engine allows you to bulk edit data in Microsoft Team Foundation Server (TFS) and Visual Studio Team Services (VSTS). Supports both migration and bulk update scenarios.

Related

Workitems migration from TFS 2013 to Visual Studio Team Services

What are the best practices to migrate workitems say PBIs/Features manually from TFS to VSTS? And how to ensure we don't lose any linking to changesets or other linked child workitems?
Have referred the below link and the migration tool mentioned is deprecated and would like to know any other options which will help to migrate the data.
How to migrate work items from TFS to VS Team Services (VS Online)
The recommend way for now is using Migrate to Visual Studio Team Service, a way import your TFS Database into Visual Studio Team Services which definitely along with data.
However, currently only the following versions of TFS are supported for import with this tool:
TFS 2017 Update 3
TFS 2018
You may have to upgrade your TFS server to use. Alternative, the Microsoft official option is using public API-based tools.
Personally, even though Team Foundation Server Integration Tools has been deprecated. You could still use this solution in your case.
Besides, if you have no work item customization, then OpsHub is an
option. VSTS Sync Migration Tools is another way. But none offer a full fidelity migrations. Each tool has its own limitations.

Migrate visual studio team services to tfs

I'd like to know if it's possible to migrate from a Visual Studio Team Services to a local Team Foundation Server. I've seen many questions about the reveser process but not this.
I know I can download source code from VSTS and upload it manually to TFS, but I'd like to keep as many work items and project structure as possible.
You can try with TFS Integration Platform, it may have some errors but can work. Refer to this link for details: Migrate VSO to on premises TFS.

Import data from Jira to TFS 2015

I'm planning a move from Jira to Team Foundation Server (TFS) 2015 and I can't find a good method of migrating the data between the two systems.
Are there any good methods out there ?
My company recently moved from Jira to TFS. I ended up writing my own utility to do the migration.
I've since published it as open source and it can be found on GitHub here:
https://github.com/KilskyreMan/JiraToTfs.git
The project will compile and run under Visual Studio 2015. It offers various mapping abilities via a GUI that should allow you (if needed) tailor your import.
Hope this helps - Ian.
For now, no documentation mentions how to migrate from Jira to TFS, but there are some plugins to have two-way sync between TFS and Jira, you can take a look at them:
TFS4JIRA (About About TFS4JIRA, you can get more information at https://confluence.spartez.com/display/TFS4JIRA/About+TFS4JIRA)
UseTFS
Atlassian Connector for Visual Studio

Visual Studio Team Services Reporting

As I understand it there is currently no reporting available on Visual Studio Team Services however looking at the source control history it shows the changeset history. Can additional columns be added here like number of changes, etc. so we can try and use this to understand the history of changes for our source control?
An even better solution would be to get real reporting from visual studio Team Services.
You're right, there are is not a comparable reporting set of capabilities in Visual Studio Team Services that Team Foundation Server on-premises currently has. The data all exists though in the Visual Studio Team Services account and there many ways of getting to that data:
Work Item Queries
Work Item Charts
REST APIs in Visual Studio Online
Team Foundation Server SDK (making calls against Visual Studio Team Services)
I imagine for your particular scenario, you'll want to use either option #3 or option #4 for querying version control information.
Update: We are currently working on an Analytics Service for Visual Studio Team Services data that will work with multiple reporting platforms like PowerBI and many others.

How do I migrate data from Team Foundation Server to Visual Studio Online?

I'd like to take advantage of Visual Studio Online but I have been using Team Foundation Server on-premises and would like to migrate my data (version control, work items, test cases, and test results) to get my team started with our history. How do I do that?
The Team Foundation Server Integration Platform is available as a free platform for migrating/synchronizing data between TFS servers and with Visual Studio Online.
The ALM Rangers have an article in MSDN Magazine with a walkthrough: http://msdn.microsoft.com/en-us/magazine/jj130558.aspx
There are a couple of limitations from what I understand:
Takes some work to get up and going but the walkthrough helps out a lot
This tool does migrate test cases but you need to run the UpdateSharedSteps tool from the product team.
Not actively invested in as new features in Team Foundation Server and Visual Studio Online lights up
Another option is to build your own migration utility using the Team Foundation Server SDK. You can use the Client Object Model to read data from your TFS server and then write it to your Visual Studio Online account.
There is a free migration utility from migrating data from Team Foundation Server on-premises to Visual Studio Online available from OpsHub: http://aka.ms/OpsHubVSOMigrationUtility.
It allows you to migrate team project(s) from TFS 2010, TFS 2012, and TFS 2013 including the history of:
Version Control
Work Items
Test Cases
It handles the most common scenarios by making smart assumptions that are good for most scenarios. For those with more advanced scenarios, the OpsHub Integration Platform is commercially available and helps with synchronizations, custom business rules during migrations including customized process templates, and migration/integrating with other ALM platforms like IBM, Atlassian, HP, etc.

Resources