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

Creating a template for pull request

Aseem Chiplonkar
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!
April 4, 2018

Is there a way to create a pull request template?

It's easy with Github as mentioned here:

https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/

 

Wondering if similar thing works for BitBucket too?

5 answers

1 accepted

8 votes
Answer accepted
butt
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 12, 2019
berndschotanus
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 24, 2019

I'm sorry but this is not a pull request template, this is a fixed text without parameters.

Like # people like this
Peter Dolkens February 15, 2020

That's how the feature works - and is literally the implementation in this feature request.

 

Not sure how this got 8 upvotes :\

Bernd Schotanus
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 6, 2020

I might have been a little frustrated when I wrote the previous post. The functionality I was looking for was this:

https://jira.atlassian.com/browse/BCLOUD-17743?focusedCommentId=2260350&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-2260350

Like # people like this
5 votes
Mike Loux
Contributor
May 28, 2019

I don't suppose there is a way to do this for entire projects, or (even better), the entire instance for our org?  The thought of going through and setting this manually for every single repo in even a single project makes me want to run, screaming, into traffic.  

Mike Loux
Contributor
May 28, 2019

Also, is there a syntax guide and/or variable list anywhere?  The preview and suggested markups all do not work.  

Like shanewealti likes this
Doug Wilhelm
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 24, 2019
Like Yubin Lee likes this
4 votes
Vivian C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2018

Hi Aseem,

Unfortunately, it's not possible to create a pull request template on Bitbucket Cloud as for now. There is an existing feature request for this feature here: https://bitbucket.org/site/master/issues/11571/custom-pull-request-description-template

- Vivian

3 votes
Andreas Katzian
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 14, 2021

Is there an option to provide a custom description but keep the "auto" populated commit messages to? Something like a placeholder e.g. %commits%?

Admin FourPanels
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 19, 2022

Did you find any solution?

Like # people like this
Jeremy Rademan
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 29, 2022

It would be great if we could do this?

Like # people like this
hesham
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 21, 2023

@Jeremy Rademan @Andreas Katzian you can use the following as documented here

# Commits
{{commit_messages}}

0 votes
Ben Gardiner
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 25, 2024

For now the best thing to do is to make one based on something like this


https://github.com/angular/angular/blob/main/.github/PULL_REQUEST_TEMPLATE.md


or something like this https://github.com/codica2/pull-request-best-

practices/blob/master/.gitlab/merge_request_templates/Task.md

save it somewhere and copy and paste it in.. because the bitbucket default does not exist,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events