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

Allow modifying multiple files as a single commit 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.

      We have a strong interest in automating code generation, which leads to automating several files at a time. Currently, there’s no endpoint available that allows us to modify multiple files in a single commit. Instead we need to make multiple API calls for each file that we want to modify, which results in a commit for each modified file.

      This creates a burden on the engineer, who needs to review and merge the changes at the end of automation. The engineer needs to squash all of the commits together before the pull request is allowed to be merged.

      ——
      This leads to the request, we would like an endpoint similar to BitBucket Cloud, which will allow us to modify multiple files in a single request/commit.

      ——
      Bitbucket DC (Only supports single file commits):

      Bitbucket Cloud (Supports multi-file commits):

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

                Created:
                Updated: