Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a cloud verified plugin that checks commit messages?

Serge Asmar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 16, 2024

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?

3 answers

1 vote
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 17, 2024

@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):

git-console-in-action.gif

Please send an email to aron.gombas@midori-global.com so that we can add you to the Early Access program when it starts.

1 vote
Saxea _Flowie_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2024

Hi @Serge Asmar

I'm afraid not. In fact, as of now, none of th Bitbucket cloud apps are Cloud Fortified:

bitbucket-apps.png

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!

Serge Asmar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 16, 2024

alright thank you for the reply!

Like Sabine Mayer likes this
0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events