Alerts being set on Grafana dashboards error'ing out

Sometimes they work - other times I get an error about using template names in an alert. I’m not changing anything in alert queries. I take all the defaults and just change the value that triggers the alert. Any alert that has an issue prevents the dashboard from being saved.

This is a new functionality in Grafana. so there could be the bugs. If you know how to reproduce the problem you may report to Grafana straight-away https://github.com/grafana/grafana/issues