Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pre-receive hook failed to execute properly

Vignesh Kumar February 20, 2019

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?

1 answer

1 accepted

0 votes
Answer accepted
Julius Davies [bit-booster.com]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2019

 

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.

Vignesh Kumar February 21, 2019

Thanks a lot. This app for Bitbucket Server is great! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events