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!
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)
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.