Skip to content

Alerting: Slack Alert title links to alerting/list rather than the alert-rule #69248

Open
grafana/alerting
#241
@michael-sawczuk

Description

@michael-sawczuk

What went wrong?

What happened:
Since moving to Grafana 9 and unified alerting, the slack title only links to <grafana_base_url>/alerting/list - this isn't helpful as you need to search for the alert-rule in a firing state AND potentially swap orgs as orgId is not specified with the title.

What did you expect to happen:
The slack title should contain the orgId and link to either the dashboard/panel, failing that the generator URL.

How do we reproduce it?

Step 1:
Open grafana with multiple orgs available, choose an org to create an alert-rule in.

Step 2:
Create an alert-rule with a dashboard/panel link and a Slack contact point to send the alert to (the default template is fine).

Step 3:
Cause the alert-rule to go into an alerting state

Step 4:
Click the Slack title, you will find there is no orgId parameter and it will link to <grafana_base_url>/alerting/list

What Grafana version are you using?

Grafana 9.3.0, v9.4, v9.5

Optional Questions:

Is the bug inside a Dashboard Panel?

No response

Grafana Platform?

A package manager (APT, YUM, BREW, etc.)

User's OS?

MacOS Ventura

User's Browser?

Firefox

Is this a Regression?

None

Are Datasources involved?

No response

Anything else to add?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions