Migration in TFS 2017 from Scrum to Agile - azure-devops

Is it possible to migrate all data from Scrum dashboard in TFS 2017 to Agile board with all history automatically?

The dashboard are not support to migrate. You'd better tell what specify data you want to migrate.
For on-premises TFS, process template are also not support to change. But in VSTS, you could change the process template of a team project.
Update:
Workitems does not support to move from one team project to another. But if the source team project and the target team project are in the same collection, the workitems of source team project could be accessed in target team projects without migration.
In the target team project, create a query to find out workitems in source team project. Then create a chart for this new query and add it to dashboard of target team project.

Related

Cloning Azure DevOps Workitems across Projects

We have created a Project in Azure Devops using Work Items Such as User Stories and Tasks to link activities together. The purpose of this Project is to be used as a template, and any new project we create we want a method of transporting all of the work items from the template project into this new project.
Please could anyone advise or direct me in the direction of how this can be achieved, any API document which could be used? We like the idea of a pythons script for example to complete this.
Cloning Azure DevOps Workitems across Projects
You could query those workitems and select the options Move to the team project:
Besides, you could also select to clone those workitems by export to the CSV file and import to the new project:

Migrate TFVC repository from one VSTS instance to another VSTS instance

I need to move, or copy, a TFVC (Team Foundation Version Control) repository from one instance of VSTS (e.g.: source.visualstudio.com) to another instance of VSTS (e.g.: destination.visualstudio.com).
I thought this would fairly straightforward, but I can only find information in regards to TFS (Team Foundation Server), not VSTS (Visual Studio Team Services). Or samples that convert to a Git repository, while I need to go from TFVC to TFVC.
I am not interested in migrating Work Items at this time, just the source code and its history.
No built-in tool to do it, there is a similar user voice: make it possible to move a Team Project between Team Project Collections
Regarding 3rd tool, you can try it with OpsHub Visual Studio Online Migration Utility.
On the other hand, you may change account owner of VSTS if just need to change owner.

Is it possible to save Board settings as Templates in VSTS?

Our team made several changes to the available settings on the Boards of Visual Studio Team Services. I would like to know if there's a way to save these settings as templates in order to apply it to new projects and teams.
No this is currently not possible. The ALM Rangers are working on a project which will allow you to copy/paste board configs from one team to another. JSON import/export is planned for the future. For now we'd like to get simple apply from master working.
We may open up for beta tests soon.

How to change a project from Scrum to CMMI in VSTS

We migrated a project from TFS 2015 to VSTS recently as a Scrum project as it was in TFS. But we want the project to be using the CMMI process template.
Now, how can we migrate the existing project from Scrum to CMMI process template?
According to MS documentation (here) ...
You can change the process a team project uses from a system process
or inherited process to an inherited process. You can only change team
projects to use another process that inherits from the same system
process. That is, you can change an Agile-based team project to any
process you created from the Agile system process as well as to the
Agile process. Whereas, you can't change a Scrum-based team project to
an Agile-derived inherited process.
But you could still create a new team project based on CMMI and then move your source code and workitems to that new team project. To move workitems you can export them to Excel, create a new Excel connection to VSTS, that is connected to the new team project, and then copy the workitems and pushing them from the new Excel file into the new project.
You can custom a process when using Hosted XML, the changes made to the process template are then applied to all team projects using that process.
More information: Customize a process when using Hosted XML

Obtaining line of code metrics from Visual Studio Team Services for specific dates and project?

We currently use Visual Studio Team Services for our source control. Unfortunately, we do not use the project planning capabilities with VS team services. Meaning when we check-in code we do not map the source code to work items in a sprint.
Is it possible to query line of code changes for specific dates and certain application/solution from VS Team Services?
Both Git and TFVC have this information available, by linking your Visual Studio Team Services account to Power BI. The Git Activity and TFVC Activity reports provide a starting point, though for now the period you can report on is limited.