Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to add default reviewers and merge strategies to a Project with the REST API

Stuart I'm New Here Sep 07, 2022

Hi there,

Trying to work out how to specify a merge strategy and add default reviewers at the Project Level in BB Cloud, using the REST API.

I know how to do these at the Repository level, but I would prefer to set this at a project level, so that existing and new repositories can simply inherit these settings.

I have looked through the Rest API documentation, but the actions available at the Project level seem fairly light-on in this regard.

Am I missing something ?


1 answer

1 accepted

0 votes
Answer accepted

Hi Stuart,

I'm afraid that it is not possible to do this with the API at the moment, you can only set those from our website.

I can create a feature request to add this functionality in our API as well, please feel free to let me know if you'd like me to proceed with that.

Kind regards,

Stuart I'm New Here Sep 09, 2022

Hi Theodora,

Thanks for the clarification.

I feel this would be a great feature to add into the API's capabilities, and would go towards a team being able to define more of their Bitbucket environment in code, leading to guaranteed, repeatable steps, and not needing to use the front end environment to configure some aspects if a new project is required.

Therefore if it could be raised as a feature request into the main product, that would be great.


Hi Stuart,

Of course, I went ahead and raised a ticket for each issue:

I would recommend adding your vote to both (by selecting the Vote for this issue link in each one) as the number of votes helps the development team and product managers better understand the demand for new features.

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here and any updates will be posted in the feature requests.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,486 views 3 10
Read article

Atlassian Community Events