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

Default Pull Request Description - include list of commits

Daniel Godbold
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!
March 28, 2019

Hi all,

I want to use the default PR description to prompt our devs into adding certain information, but the list of commit messages is useful and I don't want to lose that. Is it possible to get both? So I can put my default description with prompts at the top, and then at the bottom retain the list of commit messages that a blank default description generates?

21 answers

8 votes
Shubhank Gupta
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!
August 12, 2020

Bump! This is a long requested feature. Can anyone from bitbucket answer this? Thanks

2 votes
Marco Kaiser
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!
July 20, 2022

I would also love to see this. A default template is necessary in a growing team but I really don't like the idea to lose the handy Changelog provided automatically via the commit messages. Maybe it would possible to let us just write something like {{ commit-log }} and on this place the standard list will be included.

2 votes
Jakob Klepp
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!
May 25, 2021

Best case would be a simple template engine where I can choose where the list of commits are included but I would be content if there was a checkbox to tell bitbucket to just append the commit list at the end of the description.

In addition it would be nice if the list would update when new commits are pushed to a PR.

1 vote
danieldiazsaniz
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!
March 19, 2024

Use {{commit_messages}}.

Lucas May 20, 2024

Wow, thanks a lot, it works!

Where did you find this?

1 vote
Lucas April 13, 2023

As we can see Atlassian totally doesn't care about "community"... (creating a "community" space is not enough to build a community, you know that, right?)

Bitbucket is not Number One for a reason...

 

@ ATLASSIAN @ - How many more years do we have to wait until you will at least bother to answer this request from the "community"?

Is it really so hard for a big IT company to add an option to include commit history within Template with some `{{commitHistory}}` ???

Or, if it's too hard for you, maybe you can at least provide this list below the template (We can copy/paste it where we want, not a problem) - it should not be too hard? A checkbox `[ ] add commits history` or a third option "Template with commits history on the end". It can't be so hard...

It's really frustrating to wait for this feature for so many years...


EDIT:

They added {{commit_messages}} in PR template, here are docs:
https://support.atlassian.com/bitbucket-cloud/docs/pull-request-and-merge-settings/


And... it looks like they added it 3 months after I wrote this comment:

https://jira.atlassian.com/browse/BCLOUD-17743

It's sad nobody from Atlassian bothered to write here on a Community to inform us about this. I've lost a lot of time for adding descriptions manually during this 1 year...

And they really should add info about this variable somewhere in UI to make it easier to find it.

1 vote
Tom Österlund
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!
July 20, 2022

Hello Atlassian? Anyone home?

1 vote
Saigita
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!
July 24, 2019

Although we can view the commit messages in the commits section, it would be great if we can have it in the description part along with the default description

1 vote
Mats Byrkjeland
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!
July 24, 2019

I want to have both a custom default PR description and the commit list too!

0 votes
Niall Muldoon
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!
October 15, 2024

I can't believe this is not already an option. Atlassian, please add support for this!

0 votes
Lucas May 20, 2024

Great, today Bitbucket updated the PR layout (obligatory change) - somebody asked for this? IMHO only more clicking in the new one, and actions mixed with comments by default...

 

But here they don't even bother to answer for so many years...

People are asking for a simple feature, but they ignore it and deploy a huge refactor of something that was actually OK already...

 

WOW, we can use {{commit_messages}} in the PR template!

I'm editing my negative comment with pure pleasure! :D

(But I'm still not sure if a new PR layout was a good change... we will see in few days ;) )

Here are docs where they mention it: https://support.atlassian.com/bitbucket-cloud/docs/pull-request-and-merge-settings/

Efetobore Akpoguma
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!
June 4, 2024

Is this available in Bitbucket Cloud only?

Like Mike P likes this
0 votes
Carl Banks
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!
August 7, 2023

+1.  It really shouldn't be too hard to add a feature where the user could type  something like @commitlog into the template and it'll expand to the commit messages.  While you're at it, something like @commitlogfirstlines would be cool too, where it just inserts first lines.

(That doesn't work, if anyone is reading. It was just a suggestion how it could look.)

0 votes
Mohammod Al Amin Ashik (Mohammod Al Amin Ashik)
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!
March 27, 2023

+1

0 votes
Björn Lindahl
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!
October 20, 2022

In order for customizing the Pull request description template to be useful there need to be ways to include the list of commits that is included default in the template you construct. If you define your own template today you loose that feature which isn't great. It would be great if you could have an extend-option so you can use default but extend the default template with additional content.

0 votes
Siddharth Dalal
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!
September 6, 2022

+1

Either this or format the commit list like this was formatted

0 votes
Clément Rosa
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!
December 3, 2020

+1

0 votes
Conrad van Straaten
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!
August 25, 2020

+1

0 votes
Dino De Waen
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!
January 27, 2020

+1

0 votes
Ron Apelbaum
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!
December 10, 2019

+1

0 votes
Alex Parpas
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!
October 12, 2019

Same issue, any ideas are welcome.

0 votes
mbalc
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!
September 12, 2019

bump

0 votes
Saigita
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!
July 23, 2019

I am facing the same issue, it would be helpful if we get a revert on this! Thanks in advance

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events