From eb5204f658d07d0a29e13ebd2a3a8799831123b4 Mon Sep 17 00:00:00 2001 From: nico-i Date: Fri, 29 May 2026 16:52:56 +0000 Subject: [PATCH] Added project config to issue template example (#428) I have updated the docs since this feature is now supported. Reviewed-on: https://gitea.com/gitea/docs/pulls/428 Reviewed-by: Lunny Xiao Co-authored-by: nico-i Co-committed-by: nico-i --- docs/usage/issues-prs/issue-pull-request-templates.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/usage/issues-prs/issue-pull-request-templates.md b/docs/usage/issues-prs/issue-pull-request-templates.md index 3dd2d812..94fa0b30 100644 --- a/docs/usage/issues-prs/issue-pull-request-templates.md +++ b/docs/usage/issues-prs/issue-pull-request-templates.md @@ -100,6 +100,8 @@ about: "This template is for testing!" title: "[TEST] " ref: "main" assignees: ["user1"] +projects: + - Example Project labels: - bug @@ -112,8 +114,9 @@ This is the template! In the above example, when a user is presented with the list of issues they can submit, this would show as `Template Name` with the description `This template is for testing!`. When submitting an issue with the above example, the issue title would be pre-populated with -`[TEST] ` while the issue body would be pre-populated with `This is the template!`. +`[TEST] ` while the issue body would be pre-populated with `This is the template!`. The issue would be assigned to `user1`. +The issue would be assigned to the project `Example Project`. The issue would also be assigned two labels, `bug` and `help needed`, and the issue will have a reference to `main`.