I configured my repository with a pre hook Require commits to be associated with a JIRA issue. I provided JQL clause and regex key. When I commit and push, a message pops up saying "A pre-receive hook failed to execute properly - contact an Administrator" appears.
What would be the possible reason for this? Could anyone help me fix this error?
If you're on Bitbucket Server I recommend installing the free Control Freak plugin and letting it handle this problem.
(Full disclosure: my company created and maintains Control Freak).
If you're on Bitbucket Cloud it's probably best to just use Atlassian's built-in control for this (the "Require issue keys in commit messages" option). More documentation here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.