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

Configuring Bitbucket Cloud repositories in a plan branch fails

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.2.4
    • 7.2.0, 7.2.2, 7.2.3
    • User Interface
    • None

      Issue Summary

      When configuring a plan branch repository which is a Bitbucket Cloud repository, there is no option to select a different branch and the Repository field remains blank with a spinning wheel next to it.

      Steps to Reproduce

      1. Access a plan branch repository configuration
      2. Select a Bitbucket Cloud repository, and enable the Change repository settings for this branch plan

      Expected Results

      You are able to make changes on branch plan repository and save them.

      Actual Results

      The drowdown menu to select a branch does not appear and the following exception is thrown on the browser console.

      Workaround

      There are two possible workarounds based on your authentication options linked to the Bitbucket Cloud repository.

      If you use SSH to connect to your repository,

      1. Access your plan branch repository configuration
      2. Select the affected Bitbucket Cloud repository, and enable the Change repository settings for this branch plan
      3. Scroll down to the page and click on Save repository
      4. After doing so, the option to select a branch will be enabled at the top, and you'll be able to make changes to that repo, even after refreshing/navigating to another page.

      For username/password authentication the workaround the steps are slightly different.

      1. Access your plan branch repository configuration
      2. Select the affected Bitbucket Cloud repository, and enable the Change repository settings for this branch plan
      3. Scroll down to the page and click on Save repository
      4. After doing so, the option to select a branch will be enabled at the top, and you'll be able to make changes to that repo, even after refreshing/navigating to another page.

        1. image-2021-03-24-16-10-49-098.png
          33 kB
          Miguel Alonso
        2. screenshot-1.png
          172 kB
          Miguel Alonso

            [BAM-21280] Configuring Bitbucket Cloud repositories in a plan branch fails

            Zuzanna Struczewska made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 599679 ]
            Jeyanthan I (Inactive) made changes -
            Description Original: h3. Issue Summary

            When configuring a plan branch repository which is a Bitbucket Cloud repository, there is no option to select a different branch and the _Repository_ field remains blank with a spinning wheel next to it.
            h3. Steps to Reproduce
             # Access a plan branch repository configuration
             # Select a Bitbucket Cloud repository, and enable the *Change repository settings for this branch plan*

            h3. Expected Results

            You are able to make changes on branch plan repository and save them.
            h3. Actual Results

            The drowdown menu to select a branch does not appear and the following exception is thrown on the browser console.

            !screenshot-1.png|thumbnail!

            !image-2021-03-24-16-10-49-098.png|thumbnail!
            h3. Workaround

            There are two possible workarounds based on your authentication options linked to the Bitbucket Cloud repository.

            If you use SSH to connect to your repository,
             # Access your plan branch repository configuration
             # Select the affected Bitbucket Cloud repository, and enable the *Change repository settings for this branch plan*
             # Scroll down to the page and click on *Save repository*
             # After doing so, the option to select a branch will be enabled at the top, and you'll be able to make changes to that repo, even after refreshing/navigating to another page.

            For username/password authentication the workaround the steps are slightly different.
             # Access your plan branch repository configuration
             # Select the affected Bitbucket Cloud repository, and enable the *Change repository settings for this branch plan*
             # Tick the box "Change password"
             # Enter your existing Bitbucket Cloud authentication password
             # Scroll down to the page and click on *Save repository*
             # After doing so, the option to select a branch will be enabled at the top, and you'll be able to make changes to that repo, even after refreshing/navigating to another page.
            New: h3. Issue Summary

            When configuring a plan branch repository which is a Bitbucket Cloud repository, there is no option to select a different branch and the _Repository_ field remains blank with a spinning wheel next to it.
            h3. Steps to Reproduce
             # Access a plan branch repository configuration
             # Select a Bitbucket Cloud repository, and enable the *Change repository settings for this branch plan*

            h3. Expected Results

            You are able to make changes on branch plan repository and save them.
            h3. Actual Results

            The drowdown menu to select a branch does not appear and the following exception is thrown on the browser console.

            !screenshot-1.png|thumbnail!

            !image-2021-03-24-16-10-49-098.png|thumbnail!
            h3. Workaround

            There are two possible workarounds based on your authentication options linked to the Bitbucket Cloud repository.

            If you use SSH to connect to your repository,
             # Access your plan branch repository configuration
             # Select the affected Bitbucket Cloud repository, and enable the *Change repository settings for this branch plan*
             # Scroll down to the page and click on *Save repository*
             # After doing so, the option to select a branch will be enabled at the top, and you'll be able to make changes to that repo, even after refreshing/navigating to another page.

            For username/password authentication the workaround the steps are slightly different.
             # Access your plan branch repository configuration
             # Select the affected Bitbucket Cloud repository, and enable the *Change repository settings for this branch plan*
             # Scroll down to the page and click on *Save repository*
             # After doing so, the option to select a branch will be enabled at the top, and you'll be able to make changes to that repo, even after refreshing/navigating to another page.
            Ellie Z (they/them) made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Marcin Gardias made changes -
            Affects Version/s New: 7.2.0 [ 92133 ]
            Marcin Gardias made changes -
            Status Original: In Review [ 10051 ] New: Waiting for Release [ 12075 ]
            Marcin Gardias made changes -
            Status Original: In Progress [ 3 ] New: In Review [ 10051 ]
            Marcin Gardias made changes -
            Fix Version/s New: 7.2.4 [ 94832 ]
            Marcin Gardias made changes -
            Status Original: Short Term Backlog [ 12074 ] New: In Progress [ 3 ]
            Marcin Gardias made changes -
            Assignee New: Marcin Gardias [ mgardias ]
            Jan Majkutewicz (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Short Term Backlog [ 12074 ]

              mgardias Marcin Gardias
              malonso@atlassian.com Miguel Alonso
              Affected customers:
              2 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: