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?
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:
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:
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").
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To confirm, you are looking for commit history of the file within the Bitbucket?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, I'm expirienced Bitbucket user and certainly know, where to see commits history of a file or an overall repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.