Skip to content
Ditchly
Menu

Last checked October 29, 2026

Move from Bitbucket to GitLab

We earn commissions when you shop through the links below.

GitLab can import a Bitbucket repo. Pipelines YAML does not run as-is. Bitbucket Data Center is not being shut down.

How long: An hour for one repo. A weekend for a small team, including one pipeline.

Take it out

  1. Step 1

    Pick one active repo

    Choose a repo that people pushed to this month. Write down the default branch and who can merge.

  2. Step 2

    Save the pipeline file

    Copy bitbucket-pipelines.yml to a note. You will rewrite it. It will not run on GitLab unchanged.

  3. Step 3

    List Jira keys only if you still need the links

    Commit messages keep the issue keys as text. A live link to Jira has to be set up again, or you move Jira too.

Put it in

  1. Step 1

    Run GitLab's Bitbucket import on that one repo

    Use the importer, then check branches, tags, and pull requests. If the history looks right, import the next repo.

  2. Step 2

    Rewrite the pipeline as GitLab CI

    Start with the job that deploys. A Forgejo or Gitea Actions file is the other path if you want a smaller forge. Either way, the YAML is new.

  3. Step 3

    Recreate access

    Groups and branch permissions do not map one-to-one. Set the people who can merge to the default branch before you send the team over.

Need a server? DigitalOcean is one simple option. Railway is another.

We are a DigitalOcean affiliate.

We may earn from this Railway link.

What you lose

  • Pipelines as a file you copy

    The concepts move. The file does not run.

  • Bitbucket Data Center

    Atlassian says Bitbucket Data Center does not end with the other Data Center products. This guide is for teams that want to leave, not for a forced shutdown.

  • A tiny server for all of GitLab

    GitLab Community Edition is a heavy install. Forgejo is the smaller forge if the CI rewrite can live beside it.

Atlassian's price table says Bitbucket Premium for users 6 through 100 went from $7.25 to $8 per user on a monthly plan on October 13, 2026. The import works the same either way.

https://ditchly.co/migrate/bitbucket-to-gitlab