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

Allow squash commits (or merge with squash strategy) using Bitbucket API

XMLWordPrintable

    • 5
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      For some projects, developers must squash their changes into a singular commit before nominatnig changes for integration. This is also the case before they build and test the change, so that the commit hash used to build is the same used for nomination.

      With our increasing need to automate code, our automation needs API support to squash the changes that involve 10+ number of files otherwise the engineers end up with an unnecessary manual step of squashing the changes or have an interruption in the automation before they can build the changes.

      Bitbucket Cloud supports a merge API call with a strategy specification. If support is added to Bitbucket Data Center, a temporary branch could be used to achieve the same result.

              Unassigned Unassigned
              a4e9a794748b Bailey Waldorf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: