We are experiencing the same issue. 50% of our alerts contain no details. When there are no details, the email alert also fails because there are no results defined.
"2019-06-27 09:42:45,227 ERROR pid="11684" logger="alert_manager_notifications" message="Unable to send notification. Continuing without sending notification. Unexpected Error: Traceback (most recent call last):
File "/opt/splunk/etc/apps/alert_manager/bin/lib/NotificationHandler.py", line 200, in send_notification
content = template.render(context)
File "/opt/splunk/etc/apps/alert_manager/bin/lib/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/opt/splunk/etc/apps/alert_manager/bin/lib/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/opt/splunk/etc/apps/alert_manager/default/templates/default_incident_assigned.html", line 49, in top-level template code
{% for k in results[0] %}
UndefinedError: 'results' is undefined"
... View more