-
Suggestion
-
Resolution: Unresolved
Hi,
We recently went from Jira OnDemand SVN to Git on BitBucket.
One thing we miss alot, is the ability to demand users entering a Jira issue key, when checking in code.
I know that Git is distributed, and a lot of the checkin/commit stuff is handled locally.
But if i Jira issue check was done by BitBucket, no code could be added to "final destination" without an Jira issue key defined in the commit description.
So this feature request is, that you possibly come up with a clever idea for this :o)
Best regards
Peter Meyer
- is cloned from
-
BCLOUD-5658 Option to reject commits without an issue key in their message (BB-2415)
- Closed
Form Name |
---|
I could clone an issue but I can't modify description :O
Anyway, We would really be interested in ability to reject pushing/merging PRs if the commit message does not contain ticket ID, but only for selected targets e.g. master.
There is an option in Repository settings to `Require issue keys in commit messages` but this does not work in our workflow. We use squash when merging PRs to master and we don't care if these `temporary` commits have the ticket id, as long as final squashed commit will have it.