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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.