Hi!
I'd like to use actions within Slack attachments (buttons etc). This works fine in the slack message builder, but watcher doesn't seem to like the syntax:
"attachments": [
{
"color": "danger",
"title": "XXXXXXXXXX",
"title_link": "xxxxxxxxxxxf",
"text": "xxxxxxxxxxxxx.",
"actions":
{
"type": "button",
"name": "ack",
"text": "Acknowledge",
"url": "xxxxxxxxxxxxxx",
"style": "primary"
},
"fields": [
{
"title": "xxxxxxxxxx",
"value": "xxxxxxxxxxxx",
"short": true
},
{
"title": "xxxxxxx",
"value": "xxxxxxxxxxx",
"short": true
}
]
}
]
Everything else (fields, title etc) works.
message in Kibana:
Watcher: [parse_exception] could not parse message attachment field. unexpected field [actions]
Running 6.1.0 for all stack elements.
Thanks,
James