Article version: Enterprise Server 2.17
Configuring issue templates for your repository
You can customize the templates that are available for contributors to use when they open new issues in your repository.
You can create default issue templates for your organization. For more information, see "Creating a default community health file."
- On GitHub Enterprise, navigate to the main page of the repository.
- Under your repository name, click
- In the "Features" section, under "Issues," click Set up templates.
- Use the Add template drop-down menu, and click on the type of template you'd like to create.
- To preview or edit the template before committing it to the repository, click Preview and edit.
- To edit the template, click , and type in the fields to edit their contents.
- To automatically set a default issue title, assign the issue to people with read access to the repository, or apply labels to your issue template, enter these details under "Optional additional information." You can also add these details in the issue template with
assigneesin a YAML frontmatter format.
- When you're finished editing and previewing your template, click Propose changes in the upper right corner of the page.
- Enter a commit message describing your changes.
- Below the commit message fields, decide whether to commit your template directly to the default branch, or to create a new branch and open a pull request. For more information about pull requests, see "About pull requests."
- Click Commit changes. Once these changes are merged into the default branch, the template will be available for contributors to use when they open new issues in the repository.