The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Commit message

Siva Abbannagari
July 11, 2024

I wanted to enforce the following format in the commit message can yopu pleaes help on how to do it

 

JIRA: PROJ-123123

Verison: 1.1.2

Also  Check the status of JIRA  it should be in progress.

 

should be triggered on push or merge

 

decline the push or commit if

PROJ-123123  is not in progress and if its a child ticket parent ticket should alos be in progress

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Aron Gombas _Midori_
Community Champion
July 12, 2024

@Siva Abbannagari The Better Commit Policy app does exactly what you look for on the Data Center platform for many years, and we are already working on its Cloud version.

All the features you mention (and more) will be supported on Cloud!

Do you want to get access to this before the public release?

0 votes
Saxea _Flowie_
Atlassian Partner
July 11, 2024

Hi @Siva Abbannagari ,

We provide Flowie, a Bitbucket cloud app for automating workflow that supports enforcing a commit policy, allowing you to enforce the format of the message using a regex, among other things. Currently, it doesn't check against JIRA/status, but we are going to add a rule for that soon!

0 votes
Mikael Sandberg
Community Champion
July 11, 2024

You would to create pre-receive hooks in order to enforce the commit message format, or there are apps in the Marketplace that can enforce the format and check the status of the associated Jira issue. 

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events