Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to automate adding the Jira Issue Ticket as a prefix to the git commit message Edited

Is there a way to automate adding the JIRA Issue Ticket as a prefix to the git commit message?
https://confluence.atlassian.com/jirasoftwarecloud/referencing-issues-in-your-development-work-777002789.html

1 answer

1 vote

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.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

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 ...

1,897 views 0 7
Read article

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you