I want to prevent from bitbucket to merge PR if there are not enough approvers. I know that this can be done with the premium user but I don't have one so I am trying to find a workaround.
So I was looking into hooks that might do the trick.
However, as fa r as I understand githooks in my repo won't do the trick because they are client hooks. Am I right about it?
Also, I don't have access to the bitbucket server to add their server-side hooks.
can it be done with some webhook using a Jenkins job?
Any helpful reference, tip or other solution are welcome.