-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
1
Currently, there is no way to bypass the pre-receive hooks from Jira on Bitbucket cloud repos while pushing any commits on git. When enabled, all commits must have a valid issue key linked to it, and there is no way to bypass this (similar to what's available to Pipelines with [skip ci] for example.
Steps to Reproduce
- Enable pre-receive hooks under links section (Require issue keys in commit messages).
- Commit any changes, while having your commit message without any Jira issue key. Your commit will be blocked
Request
Add a way to toggle the pre-receive hook for Jira links or add a specific flag on commit messages that allows admins to bypass the Jira links pre-receive hook.
Alternatively, add a way to allowlist specific users from the Jira key requirement.