I have seen the documentation on how to write custom templates for issues, and that is great. Tried the feature and it works perfectly. Now I am wondering if there’s a way to tune each template to perform specific queries automatically.
What I am specifically looking for is a way to encode the information to auto-label a new issues in the appropriate template. For instance if a user opens a bug report I want the tag “bug” to be automatically applied (given he has sufficient permissions to apply a label).
I have seen that I can do something like this using queries but the bit I am missing is if it is possible to generate those queries from the issue template.
Thanks in advance for any reply!