Hi,
I started creating custom ScriptRunner script for Bitbucket to block certain git-ref changes.
This is basically working fine.
Our users can create new BB repositories via a Jenkins job.
As input parameter he has to provide our custom repository type. Basically business or test repository.
I now need to install that custom ScriptRunner pre-commit script only for the new business repositories. Not for repositories of other types.
So I need a REST endpoint to activate that custom script.
Is such a configuration API available as for other hook plugins?
What alternative options do I have to automate the setup so it's not needed to manually configure something in BB GUI for each new created repository?
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.