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

Allow setting the main branch of a repo when creating a new repo via API

XMLWordPrintable

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

      Problem Definition 

      When creating a new repo with the following endpoint:

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

      it is not possible to set the main branch of a repo.

      Suggested Solution

      Allow users to set the main branch of a repo when they create a new repo via API.

              Unassigned Unassigned
              tboudale Theodora Boudale (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: