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

Pull Request Description automatically put in commit log

Austin Lee October 1, 2024

With the usage of PR Description Templates in bitbucket, it would be great if there was a way to automatically populate the commit message box (when you click Merge in the UI) with the content of the PR description as it can be useful. Is there a way to do this?

 

 

1 answer

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.
October 1, 2024

Hi @Austin Lee

I'm afraid this is not supported by Bitbucket out of the box. However Flowie, which is an addon we provide, has this feature! You can set the commit message using 'commitMessageTemplate' option. 

You can specify a dynamic template:

commitMessageTemplate: (({ pullRequest }) => `${pullRequest.summary}`)

You can contact our support and we can assist with any additional queries as well.

Austin Lee October 2, 2024

Thanks for the feedback, I'll look into Flowie, but I was hoping for something much more lighter weight. 

Like Saxea _Flowie_ likes this
Austin Lee October 2, 2024

Is there a way to request this as a built-in feature for Bitbucket? Seems natural as you are able to setup a PR description template to also make it go to the commit log automatically.

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.
October 2, 2024

Yes, in fact there are already requests related to this here and here

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events