Commit-Hub hook scripts requires:
In order to download pre-configured hook script for GIT repository please go to JIRA Administration and then:
After downloading the preconfigured hook script please unzip it and place in: GIT_REPOSITORY_PATH/.git/hooks/ where GIT_REPOSITORY_PATH is directory where you have cloned repository.
The hook script is automaticly configured to your JIRA instance and ruleset before downloading it from Commit-Hub but in some cases there is a need of additional configuration:
After successfull copying of the hook script you can now configure your ruleset and commit changes to GIT repository to see if you get acceptance and rejection of the commits.