githubgithub-issues

Created issue templates as mentioned on github but they are not activated somehow


The current project contains the directory: .github/ISSUE_TEMPLATE/ and a bug_report.md and a feature_request.md file inside there. Also I have a config.yml file but unfortunately If I try to create an issue none of the templates will be taken into account?

Does someone has a hint/idea what I could have forgotten or made wrong?


Solution

  • Creating an issue template mentions

    This is the legacy workflow to create an issue template. We recommend using the upgraded multiple issue template builder to create multiple issue templates.

    The configuration mentions:

    If you used the legacy workflow to manually create an issue_template.md file and enable blank issues in your config.yml file, the template in issue_template.md will be used when people chose to open a blank issue.
    If you disable blank issues, the template will never be used.


    The OP khmarbaise adds in the comments:

    I recreated them.

    And the issue was that my templates contained comments which seemed to be a problem or the config.yml...This is now working.


    Starting June 2021, this is evolving:

    Issues forms beta for public repositories

    Issues submitted to open source projects often lack important information.

    Markdown issue templates can help by providing text that contributors can remove and replace with their own input – but sometimes contributors can miss details or get confused.

    New, YAML configured issue forms enable maintainers to build structured forms with required fields and easy-to-follow steps so that they can capture every important detail.

    User submits an issue via issue forms. -- https://i2.wp.com/user-images.githubusercontent.com/1469659/122435700-20f37b00-cf90-11eb-8028-056c7449e555.gif

    Issue forms are now available in beta for all publicly accessible repositories.

    Learn more about issue forms