Is there a way to automate adding the JIRA Issue Ticket as a prefix to the git commit message?
Hello @Nathan Yeung,
Welcome to the Community!
This automation should kick in when you create a commit, which means on your machine. And yes, there're various tools that can help with that. I personally use pre-commit with giticket extension at the moment.
Before that I was using overcommit for quite a while. It doesn't have a hook for adding Jira ticket out of the box, but it's not hard to write one. If you're interested in a script for overcommit, let me know and I'll post it here – I still should have it somewhere in my archives.
Hope this helps.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event