如何将自定义字段添加到 GitHub 问题模板?

How to add custom fields to GitHub issue template?

根据 GitHub 文档,我可以创建一个自定义错误报告模板,并且我可以自定义适合业务需要的标记。

OOTB 错误和自定义模板具有相同的字段(受让人、项目、标签、里程碑...等) 但是我如何向它添加自定义字段(例如优先级、严重性、计划状态等...)

另一个例子是 AzureDevOps 允许为错误或功能增强定义自定义模板和自定义字段。

我可以在 GitHub 模板中实现类似的功能吗?

4 月2020:从 the documentation 开始,似乎没有添加自定义字段的选项。

这可能是因为涉及任何新领域的管理:例如,将“优先级”的值限制为仅固定的一组(如“低”、“中”和“高”)
由于每个自定义字段都需要自己的一套规则和验证,因此目前不适用于 GitHub 问题模板。


2021 年 6 月更新:

New beta features within GitHub Issues, with better ways to plan, track, and manage projects.

Read more on the GitHub Issues page or in the FAQ.
✨ NEW – Project planning for developers

Available in limited public beta

Built like a spreadsheet, project tables give you a live canvas to filter, sort, and group issues and pull requests.

Tailor them to your needs with custom fields and saved views.

Sign up for the beta now.