Hello. I've created a merge check in global context in Bitbucket scriptrunner and added a single project to it via web-interface. But for our pipeline we need to add this merge check to many projects, preferably - automatically. I would personally like to do it via some REST API if scriptrunner has on. My question is:
Is it possible to add projects to global merge check automatically, preferably with REST API requests?
Hi @Никита Макаренко ,
I am the Product Manager for ScriptRunner for Bitbucket.
We don't currently support a REST API. However if you, for example, check the Network tab of the Developer Tools of your browser, when manually editing a merge check, you will see a REST Request that was POSTED with details of the merge check, including the projects and repos configured.
Using those details you could try and automate that REST Request.
Please note, this is not a public REST API and so could change at any time.
Please let me know if this helps answer your question?
Kind regards,
Robert Giddings,
Product Manager, ScriptRunner for Bitbucket
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.