Does someone know a method to restrict release branch creation from UI?
Till now, we used this class: import com.atlassian.bitbucket.event.branch.BranchCreationRequestedEvent
but now its deprecated.
After some searches on google i found out that i have to implement the PreRepositoryHook<BranchCreationHookRequest> instead. Can someone give me an example on how to use that?
Thank you
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.