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

How do I configure BitBucket to required issue key on PUSH to master repositories?

hiennh
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!
January 2, 2013

Currently the onDemand Jira use Subversion and require issue key on each commit.

After moving to GIT, how can I get this feature on with Bitbucket.

Currently user can push without any issue key.

1 answer

0 votes
m
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2013

Subversion was most likely configured with a pre-commit hook. Commits happen locally before the push. So, to accomplish this, you want a pre-commit hook on Git installed locally.

http://git-scm.com/book/en/Customizing-Git-Git-Hooks

Each user would need this. Optimially, you'd create a Git installation package for your team that they all use.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events