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

Add REST API to retrieve merge-base between two commits

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 8.16.0
    • API - REST
    • None
    • 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.

    Description

      It is currently not possible to directly retrieve the merge-base (common ancestor) between two commits via the Bitbucket DC REST API (although this is possible in the Bitbucket Cloud REST API).

      This could be added as a REST endpoint for retrieving the merge-base of two arbitrary commits, and another REST endpoint for retrieving the merge-base for a pull request.

      Attachments

        Issue Links

          Activity

            People

              95e5dd71de92 David Zhu
              spetrucev Stefan
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: