Forums

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

Show Jira message in commit history

Vadim Shcherbakov November 24, 2024

Our expirience shows, that it's hard for many developers to select a short and descriprive commit message at the time of pushing. So, we want to try using a link or Jira issue code as commit message and we expect to see commit descriptions, received from Jira, in Bitbucket commit history

Are there settings or plugins to do that?

2 answers

0 votes
Aron Gombas _Midori_
Community Champion
June 6, 2025

Hey @Vadim Shcherbakov 

First, the Better Commit Policy Connector app solves the enforcement part of the developer workflow. It enforces your developers to enter valid Jira issue keys to the commit messages.

You can restrict the work item keys accepted using JQL, you can configure the number of keys required (one, one or more, etc.). So it is configurable and powerful:

jira-data-center-commit-rule-annotated.png

And then, looking at the commit history, you can just click links in the "Issues" column to see a "compact" view of the corresponding issue right in Bitbucket:

Better-PDF-Exporter-for-Jira-main-Midori-Bitbucket-06-06-2025_10_11_AM.png

This app is developed by our team. We are using it to enforce a valid issue key, but also to enter at least N non-whitespace characters more to the commit message (as the "body").

0 votes
Nikola Perisic
Community Champion
November 24, 2024

Hello @Vadim Shcherbakov , you may want to refer to this page here: https://support.atlassian.com/jira-software-cloud/docs/reference-issues-in-your-development-work/

Even if this is for the cloud, it should be applicable for the DC as well.

Vadim Shcherbakov November 24, 2024

I've already setup seamless intergration between Jira and Bitbucket. I want to see Jira issue short description in Bitbucket history instead of commit message

Nikola Perisic
Community Champion
November 24, 2024

To confirm, you are looking for commit history of the file within the Bitbucket?

Vadim Shcherbakov November 24, 2024

No, I'm expirienced Bitbucket user and certainly know, where to see commits history of a file or an overall repository.

Suggest an answer

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

Atlassian Community Events