Bamboo & Bitbucket Cloud: Pull Request Branch Creation should warn about required permissions

XMLWordPrintable

    • 1

      Problem

      When adding a Bitbucket Cloud repository to Bamboo, it's possible to have Bamboo automatically create new plan branches whenever a pull request is created in Bitbucket Cloud.

      However, if using an App Password to connect Bamboo to BBCloud, the App Password is required to have the Pull Request Read permission in Bitbucket Cloud side (see below) in order for this to work. In case this permission is missing, Bamboo will not be able to authenticate agains BBCloud to read the Pull Request information, and therefore, will not be able to create the branch.

      Suggestion

      Bamboo should either check the App Password permissions in BBCloud and warn the user in case the Pull Request read permission is not set, or there should be a message in the Branch Configuration page to inform users that this strategy of branch plan creation requires such permission.

      The warning could be presented here:

        1. image-2021-12-10-11-21-09-374.png
          107 kB
          Eduardo Collaziol
        2. image-2021-12-10-11-24-35-370.png
          111 kB
          Eduardo Collaziol

              Assignee:
              Unassigned
              Reporter:
              Eduardo Collaziol
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: