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

Add REST API to retrieve merge-base between two commits

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • 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

        Activity

          People

            Unassigned Unassigned
            spetrucev Stefan
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: