Import your project from Bitbucket Cloud to GitLab
Import your projects from Bitbucket Cloud to GitLab with minimal effort.
Overview
- At its current state, the Bitbucket importer can import:
- the repository description (GitLab 7.7+)
- the Git repository data (GitLab 7.7+)
- the issues (GitLab 7.7+)
- the issue comments (GitLab 8.15+)
- the pull requests (GitLab 8.4+)
- the pull request comments (GitLab 8.15+)
- the milestones (GitLab 8.15+)
- the wiki (GitLab 8.15+)
- References to pull requests and issues are preserved (GitLab 8.7+)
- Repository public access is retained. If a repository is private in Bitbucket it will be created as private in GitLab as well.
Requirements
The Bitbucket Cloud integration must be first enabled in order to be able to import your projects from Bitbucket Cloud. Ask your GitLab administrator to enable this if not already.
How it works
When issues/pull requests are being imported, the Bitbucket importer tries to find the Bitbucket author/assignee in GitLab’s database using the Bitbucket ID. For this to work, the Bitbucket author/assignee should have signed in beforehand in GitLab and associated their Bitbucket account. If the user is not found in GitLab’s database, the project creator (most of the times the current user that started the import process) is set as the author, but a reference on the issue about the original Bitbucket author is kept.
The importer will create any new namespaces (groups) if they don’t exist or in the case the namespace is taken, the repository will be imported under the user’s namespace that started the import process.
Importing your Bitbucket repositories
- Sign in to GitLab and go to your dashboard.
-
Click on New project.
-
Click on the “Bitbucket Cloud” button.
-
Grant GitLab access to your Bitbucket account
-
Click on the projects that you’d like to import or Import all projects. You can also select the namespace under which each project will be imported.
Help and feedback
If there's something you don't like about this feature
To propose functionality that GitLab does not yet offer
To further help GitLab in shaping new features
If you didn't find what you were looking for
If you want help with something very specific to your use case, and can use some community support
POST ON GITLAB FORUM
If you have problems setting up or using this feature (depending on your GitLab subscription)
REQUEST SUPPORT
To view all GitLab tiers and features or to upgrade
If you want to try all features available in GitLab.com
If you want to try all features available in GitLab self-managed
If you spot an error or a need for improvement and would like to fix it yourself in a merge request
EDIT THIS PAGE
If you would like to suggest an improvement to this doc