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?