Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

New PR templates that differentiate between bug and feature

Henriette Dargef7344e02e8c1
diff --git a/.github/PULL_REQUEST_TEMPLATE/bug_pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/bug_pull_request_template.md
new file mode 100644
index 00000000000..c44b76298c4
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE/bug_pull_request_template.md
@@ -0,0 +1,17 @@
+# Ticket
+<!-- Provide the link to respective work package -->
+
+<!-- Contributors: Please check our PR guide: https://www.openproject.org/docs/development/code-review-guidelines/#preparing-your-pull-request before opening a PR. -->
+
+<!-- Reviewers: Please check our Review guide: https://www.openproject.org/docs/development/code-review-guidelines/#reviewing -->
+
+# What are you trying to accomplish?
+<!-- Provide a description of the changes. -->
+
+## Screenshots
+<!-- Provide before/after screenshots, videos, or graphs for any visual changes; otherwise, remove this section -->
+
+# Merge checklist
+
+- [ ] Added/updated tests
+- [ ] Tested major browsers (Chrome, Firefox, Edge, ...)
diff --git a/.github/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/feature_pull_request_template.md
similarity index 71%
rename from .github/pull_request_template.md
rename to .github/PULL_REQUEST_TEMPLATE/feature_pull_request_template.md
index 176773af552..e945cf1b8c7 100644
--- a/.github/pull_request_template.md
+++ b/.github/PULL_REQUEST_TEMPLATE/feature_pull_request_template.md
@@ -1,6 +1,9 @@
-<!-- Contributors: Please check our [PR guide](https://www.openproject.org/docs/development/code-review-guidelines/#preparing-your-pull-request) before opening a PR. -->
+# Ticket
+<!-- Provide the link to respective work package -->
+
+<!-- Contributors: Please check our PR guide: https://www.openproject.org/docs/development/code-review-guidelines/#preparing-your-pull-request before opening a PR. -->
-<!-- Reviewers: Please check our [Review guide](https://www.openproject.org/docs/development/code-review-guidelines/#reviewing) -->
+<!-- Reviewers: Please check our Review guide: https://www.openproject.org/docs/development/code-review-guidelines/#reviewing -->
# What are you trying to accomplish?
<!-- Provide a description of the changes. -->
@@ -13,9 +16,6 @@
List any tradeoffs you made to take on or pay down tech debt.
Describe any alternative approaches you considered and why you discarded them. -->
-# Ticket
-<!-- Provide the link to respective work package -->
-
# Merge checklist
- [ ] Added/updated tests