Slack notification filter using regex

Enderson Menezes Candido May 23, 2023

I am creating some channels on Slack to notify me of alerts, but I only want alerts when an incident is created. I identified that the alias has a pattern, but when I put that pattern in a Slack filter, it doesn’t work.

ReGex: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

 

Example of Alert from Incident and my Filter.

Captura de Tela 2023-05-23 às 11.30.33.pngCaptura de Tela 2023-05-23 às 11.31.08.png

 

1 answer

1 accepted

0 votes
Answer accepted
Enderson Menezes Candido May 23, 2023

It’s working, sorry about that, and here’s the ReGex that helps me notify only incidents to Slack. It was a time configuration error that I was having.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events