I'm not going to get a working solution but at least to get an answer if it is possible at all by Stash/Bitbucket. So my request is: We need to deploy some policy for ourselves in the company not to allow engineer to commit if commit comment does not contain (best does not begin with) JIRA issue number. For instance:
TEST-1234 (Jira under which I'm doing a commit) Here's my code
Thank you in advance!