Thanks @Saxea _Flowie_
I want to restrict developers from pushing a commit from the local system to Bitbucket if the commit message doesn't have any Issue key or the Issue key is invalid or the Issue key doesn't exist in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can achieve this using option 2), which is a built in feature of Bitbucket - See the docs for Require linked issue keys in commits.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello @Saxea _Flowie_
Require linked issue—this option does not check if the mentioned key exists in Jira or not.
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.