Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,186
Community Members
 
Community Events
165
Community Groups

How to enable merge checks to make JIRA ID mandatory in description for each Pull Requests

Hi All,

 I am trying to setup Merge Checks for my specific bit bucket project so that any pull request which is getting raised should have valid JIRA ID reference.

I found few documentation but its not very clear. 

hence, is there a way to require jira issue keys for pull requests only and not for every commit?

Regards

vaski 

2 answers

1 vote

Hi Vaski,

obviously the built-in merge-checks can't do what you need. You can follow steps on the documentation page by adding a merge check by way of adding an app. Some of them are free like "Better Commit Policy for Bitbucket" and you can configure the merge check once it is installed. 

I personally haven't tried them out - so I don't know which one exactly fits your requirements.

Hope that helps,

Kind regards, Ulrich

www.izymes.com

0 votes

Hi @vaski nath 

As @Ulrich Kuhnhardt _IzymesCo_ mentioned, (thank you!), the Better Commit Policy apps are dedicated apps for commit verification. By keeping all commits to your custom standards, you can make sure that all commits that end up in your Bitbucket repository have a Jira issuekey reference - or comply to even more rules!

You can start learning about Better Commit Policy for Bitbucket in the documentation.

This app is basically a connector for the main app, Better Commit Policy for Jira, so you need both apps installed to implement your commit check policy and rules.

In case you have any questions, or run into any problems, reach out to us anytime!

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,256 views 2 9
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