The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Krishna S L
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2021

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

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events