{"id":15674142,"url":"https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud","last_synced_at":"2026-02-26T02:33:15.075Z","repository":{"id":77770525,"uuid":"146486724","full_name":"swoodford/migrate_bitbucket_server_to_bitbucket_cloud","owner":"swoodford","description":"Migrate Atlassian Bitbucket Server to Bitbucket Cloud","archived":false,"fork":false,"pushed_at":"2019-02-05T20:24:30.000Z","size":54,"stargazers_count":16,"open_issues_count":5,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T15:35:50.859Z","etag":null,"topics":["atlassian","atlassian-bitbucket","bash","bitbucket","bitbucket-api","bitbucket-cloud","bitbucket-server","cloud","git","linux","migrate","migration","server","stash"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swoodford.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-28T18:03:47.000Z","updated_at":"2024-10-21T18:32:11.000Z","dependencies_parsed_at":"2023-04-16T09:57:11.736Z","dependency_job_id":null,"html_url":"https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoodford%2Fmigrate_bitbucket_server_to_bitbucket_cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoodford%2Fmigrate_bitbucket_server_to_bitbucket_cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoodford%2Fmigrate_bitbucket_server_to_bitbucket_cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoodford%2Fmigrate_bitbucket_server_to_bitbucket_cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swoodford","download_url":"https://codeload.github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782467,"owners_count":21803380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atlassian","atlassian-bitbucket","bash","bitbucket","bitbucket-api","bitbucket-cloud","bitbucket-server","cloud","git","linux","migrate","migration","server","stash"],"created_at":"2024-10-03T15:43:40.567Z","updated_at":"2026-02-26T02:33:10.053Z","avatar_url":"https://github.com/swoodford.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003cimg src=\"/images/migrate_bitbucket_server_to_bitbucket_cloud.png\" alt=\"Migrate Atlassian Bitbucket Server to Bitbucket Cloud\" width=500 height=342\u003e\u003c/h1\u003e\n\n\u003ch2 align=\"center\"\u003eMigrate Atlassian Bitbucket Server to Bitbucket Cloud\u003c/h2\u003e\n\n[![Build Status](https://travis-ci.org/swoodford/migrate_bitbucket_server_to_bitbucket_cloud.svg?branch=master)](https://travis-ci.org/swoodford/migrate_bitbucket_server_to_bitbucket_cloud)\n\n[https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud](https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud)\n\n\n**Requirements:**  \nIt is recommended to run this script as `root` directly on your Bitbucket Server (Linux only)  \nRequires `curl, git, jq, bc, openssl`  \nRun `install_requirements.sh` to install these packages  \nThe migration script may work on Mac OS but this has not been tested so run at your own risk!  \n\n\n#### TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION:\nYOU MUST AGREE TO ALL TERMS IN [APACHE LICENSE 2.0](https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud/blob/master/LICENSE.md)  \nTHIS WORK IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND  \nYOU AGREE TO ACCEPT ALL LIABILITY IN USING THIS WORK AND ASSUME ANY AND ALL RISKS ASSOCIATED WITH RUNNING THIS WORK  \n\n\n### Steps for use:\n\n1. Create Bitbucket Cloud Account and Setup Team\n2. Create OAuth Consumer in Bitbucket Cloud with Full Permisions to Team Account\n3. Create Admin or System Admin level user for migration on your Bitbucket Server\n4. Set all required variables in the script [migrate.sh](migrate.sh) then run `./migrate.sh`\n\n\n### Migration process works in the following way:\n\n1. Get list of all Projects and Repos from Bitbucket Server\n2. Create new Project in Bitbucket Cloud\n3. Create new Repo in Cloud\n4. Backup each Project Repo and all branches locally using git\n5. Add new git remote cloud, push all branches to cloud\n6. Send email to git committers when each repo is migrated (optional)\n\n#### Or migration can be done in phases with specific projects and repos (see notes in script)  \n\n### Post migration:\n1. Update many local machine git repo URLs to Bitbucket Cloud URLs by running [update-git-repo-urls.sh](update-git-repo-urls.sh)\n\n\n## Bugs and feature requests\nHave a bug or a feature request? The [issue tracker](https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud/issues) is the preferred channel for bug reports, feature requests and submitting pull requests.\nIf your problem or idea is not addressed yet, [please open a new issue](https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud/issues/new).\n\n## Creator\n\n**Shawn Woodford**\n\n- \u003chttps://shawnwoodford.com\u003e\n- \u003chttps://github.com/swoodford\u003e\n\n## Copyright and License\n\nCode and Documentation Copyright 2018 Shawn Woodford. \nCode released under the [Apache License 2.0](https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswoodford%2Fmigrate_bitbucket_server_to_bitbucket_cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswoodford%2Fmigrate_bitbucket_server_to_bitbucket_cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswoodford%2Fmigrate_bitbucket_server_to_bitbucket_cloud/lists"}