These git hooks and scripts provide a more seamless experience linking git branches and commits to certain jira tickets.
This uses the Smart Commits feature https://confluence.atlassian.com/bitbucket/use-smart-commits-298979931.html
How to set up:
Enable Smart Commits https://confluence.atlassian.com/fisheye/enabling-smart-commits-960155641.html
.git/hooksdirectory in your git repo
Re-initialize your hooks with