Forum Discussion

Sagar_Lad's avatar
Sagar_Lad
Brass Contributor
Dec 29, 2020
Solved

Migrate Azure Devops Project to another project in same Azure Devops Organization

Hi All,

 

I would like to know how to migrate azure devops project to another project within and outside Azure Devops organization?

  • Hello Sagar_Lad,

    The steps involved are below.

    Add a User to Both Organization
    Configure SSH Key
    Update the SSH Key in Source DevOps and Clone the Repository
    Check out all the Branches and Tags
    Update the SSH Key in the Destination DevOps
    Remove Old and Add New Origin
    Push all the branches

     

    More https://medium.com/medialesson/move-git-repositories-from-one-to-other-organization-in-azure-devops-d15ee4283dc9

    Regards

     

     

5 Replies

  • marvinconejo's avatar
    marvinconejo
    Copper Contributor

    Hello Sagar_Lad,

    The steps involved are below.

    Add a User to Both Organization
    Configure SSH Key
    Update the SSH Key in Source DevOps and Clone the Repository
    Check out all the Branches and Tags
    Update the SSH Key in the Destination DevOps
    Remove Old and Add New Origin
    Push all the branches

     

    More https://medium.com/medialesson/move-git-repositories-from-one-to-other-organization-in-azure-devops-d15ee4283dc9

    Regards

     

     

  • Dav1988's avatar
    Dav1988
    Copper Contributor

    Hi Sagar_Lad 

     

    I don't think this feature is supported yet.

     

    https://developercommunity.visualstudio.com/idea/365365/make-it-possible-to-move-a-team-project-between-te-1.html 

     

    You might be able to use  Azure DevOps API but it requires a lot of work.

     

    https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-6.1&viewFallbackFrom=azure-devops-rest-6.0

     

    Thanks,

    Dav

     

     

    • Han_Shih's avatar
      Han_Shih
      Copper Contributor
      Does REST API support custom columns? Also, can I move workitems between organizations?

Resources