• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 6.10.6
    • allversions
    • Repository (Bitbucket)
    • None

      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.

            [BAM-20900] Can't create/modify Bitbucket Cloud repository

            Henrique Leineker Stanula made changes -
            Fix Version/s Original: 7.0.3 [ 91527 ]

            75418b48f8ea, these properties are not required for 7.1.1. Please report it to support.atlassian.com to help our engineers to investigate the root cause

            Alexey Chystoprudov added a comment - 75418b48f8ea , these properties are not required for 7.1.1. Please report it to support.atlassian.com to help our engineers to investigate the root cause

            James Moss added a comment -

            I am hitting this problem on 7.1.1

            I have added -Dbamboo.bitbucket.cloud.use.workspace.api=true to setenv.sh and can see it in the list of JAVA_OPTS on the environment page in the admin panel and have restarted the Bamboo service.

            When I go to add the linked repo I can see the list of available git repos and can select one and then see the list of branches when I save nothing happens. If I hit Test Connection I get 'We couldn't connect to the repository. The details you provided were invalid.'

            Any ideas?

            James Moss added a comment - I am hitting this problem on 7.1.1 I have added -Dbamboo.bitbucket.cloud.use.workspace.api=true to setenv.sh  and can see it in the list of JAVA_OPTS on the environment page in the admin panel and have restarted the Bamboo service. When I go to add the linked repo I can see the list of available git repos and can select one and then see the list of branches when I save nothing happens. If I hit Test Connection I get 'We couldn't connect to the repository. The details you provided were invalid.' Any ideas?
            Ellie Z (they/them) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 485244 ]
            Dave Norton made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 484725 ]
            Dave Norton made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 482108 ]
            Ellie Z (they/them) made changes -
            Description Original: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches enable the Bitbucket Cloud Workspaces API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar}}
            # Start Bamboo


            h3. 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.
            New: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches enable the Bitbucket Cloud Workspaces API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM\-20900.jar}}
            # Start Bamboo


            h3. 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.
            Ellie Z (they/them) made changes -
            Description Original: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches enable the Bitbucket Cloud Workspaces API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM\-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar}}
            # Start Bamboo


            h3. 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.
            New: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches enable the Bitbucket Cloud Workspaces API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar}}
            # Start Bamboo


            h3. 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.
            Ellie Z (they/them) made changes -
            Description Original: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches enable the Bitbucket Cloud Workspaces API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar}}
            # Start Bamboo


            h3. 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.
            New: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches enable the Bitbucket Cloud Workspaces API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM\-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar}}
            # Start Bamboo


            h3. 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.
            Ellie Z (they/them) made changes -
            Description Original: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches add support for the new System Property which enables the Workspace API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar}}
            # Start Bamboo


            h3. 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.
            New: User can't create/modify Bitbucket Cloud repository

            Bamboo reports Invalid username when try to save repository or click Test connection button
            h3. 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.
            h2. Workaround
            h3. 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_|https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html] to enable usage of new Workspaces REST API of Bitbucket Cloud

            h3. Recent versions
            The following patches enable the Bitbucket Cloud Workspaces API:
            * *6.10.5*: [^atlassian-bamboo-plugin-bitbucket-6.10.5-BAM-20900.jar]
            * *6.9.2*: [^atlassian-bamboo-plugin-bitbucket-6.9.2-BAM-20900.jar]
            * *6.8.3*: [^atlassian-bamboo-plugin-bitbucket-6.8.3-BAM-20900.jar]

            To install, please:
            # Download the file for your version
            # Stop Bamboo
            # 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
            # Put the patch jar in {{<bamboo-install>/atlassian-bamboo/WEB-INF/atlassian-bundled-plugins/atlassian-bamboo-plugin-bitbucket-x.y.z-BAM-20900.jar}}
            # Start Bamboo


            h3. 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.

              achystoprudov Alexey Chystoprudov
              achystoprudov Alexey Chystoprudov
              Affected customers:
              14 This affects my team
              Watchers:
              34 Start watching this issue

                Created:
                Updated:
                Resolved: