Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-21980

Ability to fetch branches containing a specific commit from the Rest API

    XMLWordPrintable

Details

    • 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.

    Description

      Currently, it is possible to check all the branches that contain a commit through the UI by opening that specific commit.

      It is also possible to get this information locally using:

      $ git branch --contains <commit-sha>
      

      However, for some cases, it would also be beneficial to be able to fetch this information directly from the Rest API. This could be achieve either adding a new endpoint or by adding this information to the commits endpoint payload response.

      Attachments

        Activity

          People

            Unassigned Unassigned
            0298b2749e0b Mateus T
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: