Default Issue Template

Based on the documentation here:

https://help.github.com/articles/using-templates-to-encourage-high-quality-issues-and-pull-requests-in-your-repository/

It appears that I have a choice of supporting multiple templates and allowing a user to create an issue without a templte, or only having one template for all types of issues. It doesn’t appear that I can have a “default” issue template for “everything else” in a multiple template setup

That is - in this picture:

I can’t make “Open a regular issue” open up a ‘default’ template.

Is that right? Or can I add an issue_template.md file (or perhaps a different name) to make sure that even a regular issue follows some templated convention?

(Note: I’ve tried adding an issue_template.md file to the .github/ISSUE_TEMPLATES/ folder, but that didn’t seem to work)

1 Like

Have you tried to remove it?

Yes; the presence (or lack thereof) of issue_template.md doesn’t seem to affect whether filing a “regular issue” brings up a template.

To my understanding, it’s not currently possible to have multiple issue templates and also make a “regular issue” enforce a template as well. That said, I can understand how that might be valuable. We’re always working to improve GitHub, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

Cheers!

1 Like

That would be very useful indeed.

What’s the status on this? Is this still an open feature request? Can I vote for this or track the state somewhere?

Many thanks.

3 Likes

I’ve been looking for this feature too. Any possibility of adding my vote or to find out if this feature made it to a priority list?

Thanks,

Titus

Specifying a default issue template would be helpful.

I’ve been able to have multiple pull request templates in addition to a default pull request template. My solution is as follows:

  • Put my default template in my project’s root directory, and title it pull_request_template.md.
  • Put my other pull request templates within the .github/PULL_REQUEST_TEMPLATE/ folder, and use queries to access those.
1 Like

That would be very useful. Thank you for reporting!

It also works for issue templates! Just move your default issue template to /ISSUE_TEMPLATE.MD (case insensitive).