Support issue template assignees (#31083)

Resolve #13955
This commit is contained in:
Zettat123 authored and GitHub committed 2024-08-12 16:00:40 +08:00
1 parent 63c5ac6cdb
commit 8883d99184
6 files changed
+41 -24

No files matched your search

+7 -5
View File
@@ -466,6 +466,7 @@ name: Name
title: Title
about: About
labels: ["label1", "label2"]
assignees: ["user1", "user2"]
ref: Ref
body:
- type: markdown
@@ -523,11 +524,12 @@ body:
visible: [form]
`,
want: &api.IssueTemplate{
Name: "Name",
Title: "Title",
About: "About",
Labels: []string{"label1", "label2"},
Ref: "Ref",
Name: "Name",
Title: "Title",
About: "About",
Labels: []string{"label1", "label2"},
Assignees: []string{"user1", "user2"},
Ref: "Ref",
Fields: []*api.IssueFormField{
{
Type: "markdown",