EDIT: everything working, see below comment why we thought it didn't work.
Slack supports markdown formatting, but looks like the Opsgenie Slack integration doesn't specify (or allow to configure) this.
I'm guessing, but looks like Opsgenie alerts are sent as attachements to Slack. The API would allow to specify some fields to have markdown formatting (using the `mrkdwn_in` field) to get nicer notifications. See:
https://api.slack.com/reference/messaging/attachments#example
Have you already discussed this feature?
Answering my own question - as usual the issue was between the chair and the monitor.
Turns out markdown formatting already does work in the Opsgenie Slack plugin, the issue we were having was caused by YAML multiline strings formatting (the differences between `|`, `|-`, `>` and `>-`).
That combined with the fact that slack's markdown for links doesn't work when there's a newline:
<some_url|Description>
VS
<some_url
|Description>
Created the illusion that markdown was not supported.
slack support markdown but opsgenie support html tag for formating. If I use markdown then slack msgs are good but opsgenie alert description are not.
How did you overcome this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.