hi,
can any 1 tell me that how to use conditions/validations on git commit like no 1 can push their changes to the remote until and unless the JIRA issue key is mentioned in the commit message.
plz let me know if there are any ways .
Hi,
You can either write your one Stash pre-receive hook or use an existing plug-in that is already able to check if a JIRA issue key is mentioned.
Hope this helps.
Kind regards,
Michael
Commit Policy for Bitbucket implements exactly this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.