Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20900

Can't create/modify Bitbucket Cloud repository

    XMLWordPrintable

Details

    Description

      User can't create/modify Bitbucket Cloud repository

      Bamboo reports Invalid username when try to save repository or click Test connection button

      Remark

      Check that the username provided as credentials for the repository is the username that can be found in Bitbucket settings > Account settings > Bitbucket profile settings in Bitbucket Cloud.
      Because of GDPR-related changes to Bitbucket Cloud API the user email is not a valid value for the username field anymore and Bitbucket Cloud REST API dropped support of it recently.

      Workaround

      Bamboo 7.0.1 and above

      Since Bamboo 7.0.1, the system property -Dbamboo.bitbucket.cloud.use.workspace.api=true can be added following Configuring your system properties to enable usage of new Workspaces REST API of Bitbucket Cloud

      Recent versions

      The following patches enable the Bitbucket Cloud Workspaces API:

      To install, please:

      1. Download the file for your version
      2. Stop Bamboo
      3. Move the file at <bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z.jar out of the <bamboo-install> directory
      4. Put the patch jar in <bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar
      5. Start Bamboo

      Older Versions

      If you are unable to upgrade at the moment, please configure Linked repositories of type "Git" or "Mercurial" to work around this issue.

      Attachments

        Issue Links

          Activity

            People

              achystoprudov Alexey Chystoprudov
              achystoprudov Alexey Chystoprudov
              Votes:
              14 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: