Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8647

Branch permission for pull requests also prevents Bamboo branch merging

    XMLWordPrintable

Details

    Description

      The Changes without a pull request branch permission blocks Bamboo Branch merging without a pull request or message.

      Steps to Reproduce

      1. Connect Bitbucket Server to Bamboo Server
      2. Connect a Bamboo Plan to a Bitbucket Repository
      3. In Bamboo's plan configuration, enable Plan Branches
      4. On a branch, select Branch merging enabled (GateKeeper) to a target branch
      5. In Bitbucket branch management, enable the branch permission Changes without a pull request to that same target branch
      6. In git, create a commit that would trigger the GateKeeper merge
        Outcome The build is marked as broken with no other messages, no pull request is made in Bitbucket to handle the issue.
        Expected Outcome Bamboo should create a pull request for the broken build due to the permission setting. A link to this pull request should appear in Bamboo
        Expected Outcome Alternative Bamboo should be allowed to push to the branch regardless of the setting
        Expected Outcome Alternative There should be a checkbox in branch permissions that allows Bamboo to override this permission setting, while retaining it for other users

      Attachments

        1. BambooBranch.PNG
          BambooBranch.PNG
          56 kB
        2. BambooBuild.PNG
          BambooBuild.PNG
          70 kB
        3. BitbucketBranchPermission.PNG
          BitbucketBranchPermission.PNG
          17 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c9620997a51c Swift Capital
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: