Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

REST API for custom merge checks

Alexander Stone
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2024

Hey team, 

 

We have recently completed a proof of concept to implement custom merge checks using a forge app within our workspace. The custom merge checks and forge app have been awesome and super easy to set up, however there doesn't seem to be a way to manage these programatically? 

 

Use case:

- We have implemented and installed the forge app with a number of custom merge checks across workspace. We would now like to define which checks are required / recommended per repository configured and deployed through code. 

 

Currently it seems the only way to enable these checks is to have a repo admin come in and manually click through the GUI. It would be awesome if there was a REST API we could call to configure this similar to the existing branch restrictions: 

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-branch-restrictions/

 

Please let me know if this exists somewhere else and I've just missed it, or any other advice on how to achieve this without the need for manual click ops.

 

Thanks in advance!

1 answer

1 accepted

0 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 28, 2024

Hi Alexander,

I'm glad to hear that you are making good use of the Forge app and that custom merge checks have been helpful for you! :D

With regards to the API, we don't currently have an endpoint available for this specifically - but I have raised a feature request with our developers to consider implementing this. Feel free to Watch this for future updates and Vote for it to improve its visibility with regard to customer demand:

Cheers!

- Ben (Bitbucket Cloud Support)

Alexander Stone
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2024

Thanks for raising the ticket Ben. As useful as these checks are, its not feasible for us to maintain them across hundreds of repos without programatic modifications. So unfortunately we will be parking this functionality until there is an associated API. Thanks again for raising the ticket and we hope to see it implemented in the near future!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events