Migrate from Stash Server to Bitbucket Cloud, including pull requests and comments

Our team would like to move from a locally hosted Stash installation to Bitbucket Cloud (we have our reasons).

Is it at all possible to not only migrate the git repositories, but also all associated pull requests and comments?

2 answers

Hi,

There is nothing out there as far as I know. You would have to re-create all pull request data and comments by using Bitbucket's REST interface. See here: https://answers.atlassian.com/questions/258495

Best regards,

Michael

Correct, there is currently nothing to facilitate migration of any data other than the repos contents that can simply be pushed up. This applies to both directions. You might want to raise a feature request for this at https://bitbucket.org/site/master/issues.

I did actually integrate with the REST APIs using groovy. In my case I didn't include the PRs and comments but I did include all tags and branches. If it's something you're interested it is open source and I would love to enhance it

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

288 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