Move multiple Azure Devops projects into one project (same org)

╄→гoц情女王★ 提交于 2020-06-16 05:26:09

问题


I am in an enterprise that creates many large to small scale applications. Way back when I started using Visual Studio Online/VSTS/now Azure devops I broke all of these apps out into different projects. However, now it seems there is good support for managing multiple apps in one project, and this seems easier from a management standpoint.

From the research I did it seems i can do each service individually:

  1. Repos: Select Import Repository from the consolidated project and enter in the URL of the app i want to import BEWARE

Also, the system automatically resets the State and Reason fields to the default initial values for the work item type that you move.

and I skimmed over the docs and missed that snippet. oops

  1. Boards: Go to query (optionally select query across project) and move all items to the consolidated project (creating the appropriate teams, areas and past sprints to keep history)
  2. Builds: Export json from source projects and import to consolidated project
  3. Releases: Same as Builds

(we do not use test plans or artifacts at the moment)

Doing it this way I probably will loose build and release history, which is probably not a big deal once enough time passes, but I did not find any other good way.

My two questions are:

  1. Are there better guidelines to move entire projects to one project?
  2. Will I permanently or temporary loose anything else besides the build and release history that I am not realizing?

回答1:


I went through the same thing and had to do what you described. At the time there was no support for moving services/functions between Projects or Orgs at all, let alone consolidating into a single Project. Unless something's changed, short of automating via your own API scripting it's all manual.

The other watch outs were mainly around access and security:

  • External API integrations such as Web Apps, Function Apps, JIRA, Service Now
  • External inbound app authorisations
  • External outbound app authorisations such as Azure Service Principals
  • Variable Group authorisations to YAML Build Pipelines
  • Library reference updates including KeyVault
  • etc

This refactoring ended up being much more work than the platform consolidation itself.



来源:https://stackoverflow.com/questions/57650520/move-multiple-azure-devops-projects-into-one-project-same-org

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