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

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

Custom commit message in workflow link Edited

I would like to enforce the use of a standard git commit message as follows:

TEST-123: This is a proper commit message

Anyone can help create a custom link in Bitbucket Cloud to accomplish this. I noticed that Bitbucket cloud has a read-only rule (((?P<linker_value>[\w\-]+)\-\d+)) and that only enforces that a JIRA ticket is in the message. Also, I am unable to read the To part of it https://<somecompany>

1 answer

Hi @Wanderley Teixeira

If you only want to enforce the following pattern

TEST-123: This is a proper commit message

 It is possible to configure a git hook that offers a variety of possibilities.

However, if you want to use the linking feature to create a link to your web app you need to follow these steps:

1) Create a link key to match your commit message, such as 

((((^\w{4})-)\d{1,3}):) which will capture TEST-123:

2) On the link url, it will be necessary to assemble the URL for your service including the matching group, such as


In this scenario, the link for the commit will be


If I can provide any further assistance, do not hesitate to ask



Suggest an answer

Log in or Sign up to answer
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,880 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