Create
cancel
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

Project Settings -> Hooks option is not visible for any roles

Edited

Trying to set a pre-receive hooks to make every commit contain a jira-id. But unfortunately, couldn't see the hooks option inside project settings. 

https://confluence.atlassian.com/bitbucketserver/using-repository-hooks-776639836.html#:~:text=Pre%2Dreceive%20hooks,-Pre%2Dreceive%20hooks&text=For%20example%2C%20a%20pre%2Dreceive,valid%20Jira%20application%20issue%20key.

 

The option given here is not shown up. We are using bitbucket cloud and not dataserver. Is this an issue? If so, is there any alternative now?

 

#hooks, #commit-policies #bitbucket

1 answer

1 vote

Hi @Krishna S L and welcome to the community!

Bitbucket Server/Data Center and Bitbucket Cloud have differences and I'm afraid that the hooks option is not available for Bitbucket Cloud.

However, if you'd like to enforce every commit message to contain a JIRA issue key, there is a way to do this in Bitbucket Cloud.

This needs to be set on each repository.

You can open the repository in Bitbucket Cloud website, then go to Repository settings > Links > in there you'll see the option Require issue keys in commit messages and you can enable it.

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,717 views 10 16
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