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

Support main branch update via API

XMLWordPrintable

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

      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.
       

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

                Created:
                Updated: