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

Support main branch update via 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 not possible to provide main branch during repository creation or update the repository's main branch later using the API endpoint /2.0/repositories/{workspace}/{repo_slug} 

      API documentation: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D#put

      Please update the API endpoint to support mainbranch update.
       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbhat@atlassian.com Dheeraj (Inactive)
              Votes:
              46 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated: