[feature request] Allow GitLab-style PR templates #5758

Open
opened 2025-11-02 06:35:06 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @cuechan on GitHub (Jul 19, 2020).

Description

Gitlab allows you to have multiple different templates for different kinds of issues. I think this is a pretty useful feature and should be implemented in gitea.

If implemented, the default .gitlab/issue_templates/ path should also be added to the list of possible template file names for templates.

Example from gitlab's gitlab project

Screenshots

from GitLab docs

gitlab

Originally created by @cuechan on GitHub (Jul 19, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> ## Description Gitlab allows you to have [multiple different templates](https://docs.gitlab.com/ee/user/project/description_templates.html) for different kinds of issues. I think this is a pretty useful feature and should be implemented in gitea. If implemented, the default `.gitlab/issue_templates/` path should also be added to the list of [possible template file names](https://docs.gitea.io/en-us/issue-pull-request-templates/) for templates. [Example from gitlab's gitlab project](https://gitlab.com/gitlab-org/gitlab/-/issues/new?issue) ## Screenshots from GitLab docs ![gitlab](https://docs.gitlab.com/ee/user/project/img/description_templates.png)
GiteaMirror added the type/proposal label 2025-11-02 06:35:06 -06:00
Author
Owner

@jolheiser commented on GitHub (Jul 20, 2020):

Partial duplicate of #5488, which mentions issue templates.
There is a PR open for this, however it only covers issues and not PR templates.

@jolheiser commented on GitHub (Jul 20, 2020): Partial duplicate of #5488, which mentions issue templates. There is a PR open for this, however it only covers issues and not PR templates.
Author
Owner

@stale[bot] commented on GitHub (Sep 20, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Sep 20, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@ghost commented on GitHub (Mar 2, 2021):

+1 for multiple PR templates

@ghost commented on GitHub (Mar 2, 2021): +1 for multiple PR templates
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5758