This version of GitHub Enterprise was discontinued on 2020-11-12. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

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."

  1. On GitHub Enterprise Server, navigate to the main page of the repository.
  2. Under your repository name, click Settings.
    Repository settings button
  3. In the "Features" section, under "Issues," click Set up templates.
    Start template setup button
  4. Use the Add template drop-down menu, and click on the type of template you'd like to create.
    Add template drop-down menu
  5. To preview or edit the template before committing it to the repository, click Preview and edit.
    Preview and edit button
  6. To edit the template, click , and type in the fields to edit their contents.
    Issue template edit button
  7. 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 title, labels, or assignees in a YAML frontmatter format.
    Additional info for issue template
  8. When you're finished editing and previewing your template, click Propose changes in the upper right corner of the page.
    Propose changes button
  9. Enter a commit message describing your changes.
    Issue template commit message field
  10. 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."
    Issue template commit to main or open pull request choice
  11. 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.

Further reading