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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add more projects to scriptrunner merge check via REST API

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?

1 answer

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

113 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you