23 Jan 2019 12:28 PM - last edited on 19 May 2021 03:04 PM by MaciejNeumann
I am testing HTML formatting for a HipChat integration from Dynatrace Managed. When I send the test notification, it is formatted as expected (bold text & a friendly link to the problem URL). When the problem notification sends however, it does not get formatted as HTML, just as plain text.
Has anyone had any experience with this? I'm using:
<b>{ProblemID} {State}: {ProblemTitle}</b>
{ProblemSeverity}: {ProblemImpact} {ImpactedEntity}
<a href="{ProblemURL}">More info</a>
Solved! Go to Solution.
23 Jan 2019 12:41 PM
According to HipChat documentation this field can be treated as HTML or text (default is html)
https://www.hipchat.com/docs/apiv2/webhooks
I think that when your message is filled with real data, it is no longer valid HTML and hipchat is treating it as text. Please try adding elements to this message one by one and check on which part there is problem. Maybe there is something that can be changed in naming... You can always create custom webhook integration in dynatrace according to this documentation and force HTML format using message_format field.
Sebastian