oncall icon indicating copy to clipboard operation
oncall copied to clipboard

Custom Button Links in Slack Messages

Open hd-deman opened this issue 7 months ago • 2 comments

What would you like to see!

Summary: Please add support for custom button links (runbooks, dashboards, logs etc) in Slack messages sent by Grafana OnCall.

Use Case: Currently, I'm working around this limitation by including plain URLs in the message body. While functional, this results in cluttered and unprofessional-looking messages, especially compared to native Slack buttons that are clear and visually distinct.

Proposal: Allow users to define custom buttons with a label and a URL in Slack notifications. This could be added either via the Grafana OnCall UI or as part of the templating system.

Benefits:

Cleaner, more readable Slack alerts

Easier and quicker response actions for on-call engineers

Product Area

Alert Flow & Configuration, Chatops

Anything else to add?

I envision it as an additional raw section with buttons, placed right after the alert description: Image

Compare it to how messy it looks right now: Image

hd-deman avatar May 07 '25 13:05 hd-deman

The current version of Grafana OnCall, at the time this issue was opened, is v1.16.0. If your issue pertains to an older version of Grafana OnCall, please be sure to list it in the PR description. Thank you :smile:!

github-actions[bot] avatar May 07 '25 13:05 github-actions[bot]

would be great to have such feature

ALX-TH avatar May 20 '25 08:05 ALX-TH