Skip to content

Commit 454ad0a

Browse files
authored
Merge pull request #36126 from github/repo-sync
Repo sync
2 parents 6a92295 + 0b2455e commit 454ad0a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ body:
3838
3939
You can set the following top-level keys for each issue form.
4040
41+
{% ifversion issue-types %}
42+
43+
{% data reusables.issues.release-stage %}
44+
45+
{% endif %}
46+
4147
| Key | Description | Required | Type |
4248
| :-- | :-- | :-- | :-- |
4349
| `name` | A name for the issue form template. Must be unique from all other templates, including Markdown templates. | Required | String |
@@ -46,6 +52,9 @@ You can set the following top-level keys for each issue form.
4652
| `assignees` | People who will be automatically assigned to issues created with this template. | Optional | Array or comma-delimited string |
4753
| `labels` | Labels that will automatically be added to issues created with this template. If a label does not already exist in the repository, it will not be automatically added to the issue. | Optional | Array or comma-delimited string |
4854
| `title` | A default title that will be pre-populated in the issue submission form. | Optional | String |
55+
| {% ifversion issue-types %} |
56+
| `type` | The issue type that will be automatically added to issues created with this template. Issue types are defined at the organization level and can be used to create a shared syntax across repos. | Optional | String |
57+
| {% endif %} |
4958
| {% ifversion projects-in-issue-forms %} |
5059
| `projects` | Projects that any issues created with this template will automatically be added to. The format of this key is `PROJECT-OWNER/PROJECT-NUMBER`. > [!NOTE] The person opening the issue must have write permissions for the specified projects. If you don't expect people using this template to have write access, consider enabling your project's auto-add workflow. For more information, see [Adding items automatically](/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically). | Optional | Array or comma-delimited string |
5160
| {% endif %} |

0 commit comments

Comments
 (0)