Hi,
I am checking bitbucket scriptrunner. I write simple codes like create project/repo, collect data from them.
I want to write a code to "prevent Deletion" in Branches section of a Repository. I want to write it as pre-hook, and all existing and new branches can be modified to "prevent Deletion" option. Is it possible?
When I checked the permisssions or branches classes, I didn't find any solution of that.
Thanks