Hi everyone,
We have several small teams. These teams currently work in separate Bitbucket workspaces. We've grown, so we decided that we want to merge all of our workspaces into one huge workspace, so every project and repository would be in one place.
We couldn't find the solution to move or copy every project and/or repository from one bitbucket workspace to another (apart from doing it one-by-one).
For example GitLab has this function, we would be able to copy all of our repositories from Bitbucket to GitLab with only a few clicks.
I'm talking about more than 500 repositories in 3-4 workspaces, surely there must be a solution for this other than doing it one repository after another. We would like to stay in the Atlassian cloud, but moving all of our repositories to one place conveniently is also important.
I would really appreciate if you could point us in the right direction, or show us a solution for this issue.
Thank you
Hi @bbalint,
Bitbucket Cloud doesn't have an option for bulk transferring repositories at the moment.
We have a feature request in our issue tracker that you can vote for to express your interest:
One of the members of the Bitbucket Cloud support team has developed a script for initiating a transfer request for all repositories in a given workspace to a new workspace. You can see more details in the following comment on the feature request, if you would like to make use of it:
Kind regards,
Theodora
Hi Theodora,
Thank you for your answer.
That script is nice, but doesn't really solve the whole problem. The projects still need to be created, and of course still have to go through hundreds of emails (one for each repo) and finishing the transfer request manually.
Nice to know, there is already a feature request about it, hopefully one day it will be implemented.
In the meantime, I guess we have to take a look at the Bitbucket API and find a solution that fits our needs.
Best regards,
Balint
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balint,
Thank you for the feedback, and yes, it's true that this doesn't solve the project creation or the acceptance of the transfer requests.
We have API endpoints for projects that you can look into if you want to automate the project creation:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.