Search code examples
continuous-integrationmigrationbitbucketdevopsbitbucket-cloud

Bitbucket migration from local server to cloud: What about pull requests and comments?


My organization are planning to migrate from a local Bitbucket server to bitbucket.org. The only major obstacle so far has been that the server-to-cloud migration path only migrates repository data (source code, tags, branches), not metadata (pull requests and comments, among other things).

The migration guide says:

There's no supported method for migrating ... repository metadata like pull request history and comments.

This warning is repeated in the FAQ.

Our PRs and comments are important to us, for historical purposes. We can work around most of the other limitations. However, the pull requests are a critical component for us.

My research turned up the following two posts on SO:

If we were migrating just one repository, with a short history, we might be able to synthesize a solution from these posts. However, we have multiple repositories, some with years of history behind them.

Does anyone have a solution for this yet? That is, a way to migrate the PRs and comments?


Solution

  • I don't know whether to update the question or simply provide an answer, so here's the answer.

    Atlassian have finished their Bitbucket Cloud Migration Assistant. The release version of the Migration Assistant copies the metadata as well as the data. That is, pull requests and comments are migrated along with the source.

    Here's the link to the Migration Assistant. If the link goes stale, you can simply search for "bitbucket cloud migration assistant".