[Backlog] Map templates to issue by label
As an alternative for the mapping of multiple templates by md-comments, the template could be mapped by labels. The advantage is mostly that users can’t remove a label but can remove the md.comment. This might not work for all repos though. Please ignore if not a useful.
For instance
label bug => .github/ISSUE_TEMPLATE/template bug.md label question => .github/ISSUE_TEMPLATE/question.md ...
OMG. These are things I think about before falling a sleep at night. ¯_(ツ)_/¯
That's cool! The ability to attach a label to a template is news to me.
On Fri, Mar 8, 2019, 6:49 AM Marc Baechinger [email protected] wrote:
As an alternative for the mapping of multiple templates by md-comments, the template could be mapped by labels. The advantage is mostly that users can’t remove a label but can remove the md.comment. This might not work for all repos though. Please ignore if not a useful.
For instance
label bug => .github/ISSUE_TEMPLATE/template bug.md label question => .github/ISSUE_TEMPLATE/question.md ...
OMG. These are things I think about before falling a sleep at night. ¯_(ツ)_/¯
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/firebase/oss-bot/issues/52, or mute the thread https://github.com/notifications/unsubscribe-auth/AIEw6jFnN-UZ8J7CTsIgi71chq_onkc2ks5vUnh4gaJpZM4blftw .
GitHub allows the following metadata in a template to prefill the title and define labels and assignees.
---
title: 'Bug report'
labels: bug
assignees: octocat
---
https://help.github.com/en/articles/manually-creating-a-single-issue-template-for-your-repository