Bitbucket scriptrunner API endpoints to automate?

Viewed 372

I'm looking for Bitbucket scriptrunner API endpoints to automate enabling the merge checks available via this plugin in Bitbcuket.

Is there any documentation or steps?

Otherwise, I use the API's for other automations in Bitbucket here:

https://docs.atlassian.com/bitbucket-server/rest/7.2.3/bitbucket-git-rest.html

I tried with this but doesn't seem to work:

requests.get('https://stash.com/rest/api/1.0/projects/project-x/repos/test/scriptrunner')

Thanks

1 Answers
Related