Is there a cloud verified plugin that checks commit messages for Jira ticket IDs and prevents a commit in case this jira ID ticket is not present?
@Serge Asmar We are already working on the Cloud version of the Better Commit Policy app (a popular solution to implement commit policies on Bitbucket DC)!
Although Bitbucket Cloud doesn't support server side hooks, we will implement an even better approach, using local verification. It can capture missing issue keys when creating the commit, i.e. sooner than the actual push. And, you can fix that right away (the earlier the problem detected the easier to fix it):
Please send an email to aron.gombas@midori-global.com so that we can add you to the Early Access program when it starts.
Hi @Serge Asmar
I'm afraid not. In fact, as of now, none of th Bitbucket cloud apps are Cloud Fortified:
Some apps are Cloud Security participant though.
We do offer a plugin for commit policy with Flowie and here is our security policy.
Also, note that due to the lack of support for server side hooks (BCLOUD-10471) on Bitbucket cloud, the plugin only won't prevent the commit from being created. It does however create a check preventing a merge.
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
alright thank you for the reply!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Serge Asmar,
There is a built-in feature in Bitbucket Cloud to require issue keys in commit messages. If you are an administrator of the repo, you can find it by navigating to Repository settings > Links. On that page, you can enable this option.
Please keep in mind that this option doesn't check for issue validity before linking. We have a feature request to implement this here https://jira.atlassian.com/browse/BCLOUD-20644.
Kind regards,
Theodora
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.