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

Send Branch deletion to Bitbucket Server and update Build details

    • 0
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      When a branch is deleted from Bamboo, build status is retained on Bitbucket Server. When there is a failed build associated with a branch in Bitbucket Server, Pull requests are blocked because of the merge requirement of "a minimum of 1 successful build".

      Suggested Solution

      Add a DELETE call to the Remote Events sent to Bitbucket Server, which will delete references to builds and/or branches which are deleted in Bamboo.

      Workaround

      To allow the Pull Requests to merge, an admin will need to temporarily remove that restriction from Bitbucket Server.
      Alternatively, the Bitbucket Server REST API could be used to update the build status for commits.

            [BAM-18572] Send Branch deletion to Bitbucket Server and update Build details

            LawrenceC added a comment -

            Any updates available on this issue ?

            LawrenceC added a comment - Any updates available on this issue ?

            LawrenceC added a comment -

            A justification: One would expect that Bamboo and Bitbucket to have close integration and keep in step with each other, regarding build branch and code branch status. Here this is shown not to be the case and can result in workflow blockages / inefficiencies in a build-CI-CD pipeline that is built around these tools as a manual step is required to implement a work around and worse, that manual step needs to be performed by someone with elevated permissions, who can update the pull request configuration. If that individual is not available at the time, this can then quickly lead to a blocked development pipeline, detrimentally affecting team productivity.

            Please implement a solution for this.

             

            LawrenceC added a comment - A justification: One would expect that Bamboo and Bitbucket to have close integration and keep in step with each other, regarding build branch and code branch status. Here this is shown not to be the case and can result in workflow blockages / inefficiencies in a build-CI-CD pipeline that is built around these tools as a manual step is required to implement a work around and worse, that manual step needs to be performed by someone with elevated permissions, who can update the pull request configuration. If that individual is not available at the time, this can then quickly lead to a blocked development pipeline, detrimentally affecting team productivity. Please implement a solution for this.  

              Unassigned Unassigned
              ezeidan Ellie Z (they/them)
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: