Hello,
I'd like to prevent branch deletion except if:
Is there a way to do this with the ScriptRunner plugin?
I do not know if you can do with from ScriptRunner plugin or not.
I do know that the bitbucket repository has a 'Branch permission' tab which allows you to prevent deletion by branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.