Start FreeLog in
SonarQube Cloud | Administering SonarQube Cloud | Creating and editing your organization | Importing Bitbucket workspace

Importing a Bitbucket Cloud workspace

On this page

When you import a Bitbucket Cloud workspace to SonarQube Cloud, the corresponding organization is created in SonarQube Cloud and is bound to the DevOps platform organization: each SonarQube Cloud organization corresponds one-to-one with a Bitbucket Cloud workspace. 

The user account you used for the import is automatically assigned to the organization’s Owners group which grants you administration rights on the organization. 

Prerequisites

You must be an administrator of the Bitbucket workspace:

  • You will already be an administrator of your default workspace. 
  • For any other workspace, you have to add your Bitbucket account to a user group with the Administer workspace user right enabled.

Import procedure

To import a Bitbucket Cloud workspace to SonarQube Cloud:

  1. Log in to SonarQube Cloud with your Bitbucket account.
  2. At the top right of the SonarQube Cloud interface, select the ✚ (plus) menu and select Create new organization. The Create an organization page opens.
  3. Under Import from a DevOps platform, select the Bitbucket button.
  4. When prompted, grant access to the SonarQube Cloud application to read your Bitbucket Cloud workspace. SonarQube Cloud requests access for:
    • Reading your account information.
    • Reading your repositories and their pull requests.
    • Reading your team membership information.
  5. In SonarQube Cloud, in Import organization details, SonarQube Cloud suggests a Name and Key for your SonarQube Cloud organization. The key is unique across all organizations within SonarQube Cloud. You can accept the suggestion or change it manually. The interface will prevent you from changing it to an already existing key. 
  6. Select Add additional info to add:
    • An avatar: a small image representing the organization and displayed on the UI near the organization name.
    • A description of the organization.
    • A URL: the URL of the homepage of the organization displayed on the UI.
  7. In Choose a plan, select the subscription plan for your organization.
  8. If you selected a paid plan, select the number of Lines of Code (LOC) for your plan and follow the instructions to enter your billing and payment information.
  9. Select Create Organization. The organization is created and opened in SonarQube Cloud.

Was this page helpful?

© 2008-2025 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License