How to migrate from Bitbucket Server to Bitbucket cloud

Is there any reasonable way to migrate from bitbucket server to bitbucket cloud?




1 answer

1 vote

Hi Martin, you can import the source code and history from Bitbucket cloud to Server as explained at Importing code. However, you'll need to manually recreate all metadata such as permissions, comments, pull requests etc. either from the Bitbucket Server GUI or programmatically using the Bitbucket API. We have a feature request to make this process easier, and you can vote for it at BSERV-3555.

Let us know if you have any questions!

Best regards,


I agree @Ana Retamal Ortiz thank you for this update.

The feature request is Closed/Fixed but the import function is only available for GitHub. It clearly shows that Atlassian prefers spending resources to attract new customers but not to improve experiences for existing customers, which is sad.

I guess this is still the case? very bizarre, lets focus on Github and ignore our own customers, I guess it is time we move to Github and review all of atlassian product lines. They seem to have taken a wrong direction. Now we have to hire someone just specially to do this and migrate other stuff. This has highlighted the problem with using only Atlassain products.

In the meantime I did some experimenting and found this:


Works flawlessly but you need to do it one by one. All the history remains and I just started off with bitbucket cloud where I left with bitbucket server.

Hmm, cool, but i keep getting error with "info/refs not valid: is this a git repository?"

am i missing anything?

@Ana Retamal Ortiz Your answer pointed to documentation for migrating code INTO a bitbucket server. The question is about migrating code out of bitbucket server into bitbucket cloud. Is there an interface outside of git clone --bare / git push for each repository?

Does this functionality available now with metadata(i.e pull requests and users)?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

220 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you