For github we have a great feature for pull requests that is explained here https://help.github.com/articles/creating-a-pull-request-template-for-your-repository/
and a very good example is here
https://github.com/angular/angular/blob/master/.github/PULL_REQUEST_TEMPLATE.md
Do we have something for Atlassian Bitbucket? If yes when did they start supporting this feature?
Go to Repository or Project settings > Description template. (Repository only) From the Project settings inheritance, select Use custom settings. From Template behavior, select Create a custom description template.
The easiest way to add a pull request template to your repository is by adding a file called pull_request_template.md in the root of your directory. It's a markdown file, so you can use any of the markdown that is available to you. More about markdown in the mastering markdown syntax guide.
What is a Pull Request template? A pull request template is a file containing markdown text that is added to your pull request description when the pull request is created. Essentially, the template is a bunch of text that developers don't want to write each time they submit code.
Such a feature was not supported, but now is! It's called Default Description, and it's been available since Nov 2018 if you use bitbucket.org.
You can access it in your repository's settings page.
If you use your own instance of BitBucket, there's an equivalent feature in the works: BSERV-8663.
Unfortunately, pull request template is not supported for Atlassian Bitbucket recently. And the feature has not been added in their roadmap so far.
More details, you can also refer the issue Custom Pull Request Description Template (BB-14637) and the post Creating a template for pull request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With