You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi Atlassian team,
My question is about the Alert filter functionality. I want to know how to do it by using Alert Filter -> Alert Actions to filter alarms when it is just created. I know there's a obvious way to do it by selecting the 'Create' box under Alter Action. But my question is how to do it by using Alert Filter, because I do have others filtering rules to come with that. Could you show me what is the regex rules that matches with my request? Something like policy on the attached image. Thank you for your help and time.
Hi @Tu Lan ,
Those alert actions refer to what can be found here on an alert:
Highlighted above are a few custom actions that can be added by an integration or through an alert policy:
For example with Slack, if I were to filter on the alert actions with a similar filter to yours using regex, this would match:
Thanks again for your help. I am not fully understand the mechanism behind the scene, I've tried to create custom actions throughout integration of an API. But the custom action e.g `Create Issue` doesn't appear to my side after created.
However, throughout the investigation, I realised my problem could also be solved by filtering out default alert actions with `Not` Operation, e.g alert action not matches(regex) acknowledge, but no luck here. Could you please give me some guidance by not using the customised alerts action to remove any alert information when it is acknowledged and etc. Many thanks here!
I'm not entirely sure what your use case is to filter on the Alert Actions.
If you do not want these actions taken on the alert posted in your Slack channel, then you can simply unselect them under the checkboxes of the integration here:
By default, these are included to send to the Slack channel you have configured in the integration. The idea behind the filter of the Slack integration is to determine which alerts should (or should not) send to the Slack channel. If you have something like this:
^ only P1 and P2 alerts will send to the #community Slack channel configured in my integration.
The Alert Actions section of the Slack integration can send all, or a subset of actions taken on the alert to the channel.
Thanks so much for your help, now the problem is solved. My previous misunderstanding is that: the filter policy is only going be applied either by ticking off those 'Alert Actions' boxes, or using 'Alert Filter'. But it turns out it both contribute to the filtering policy at the same time. Thanks a lot for your help throughout the problem, cheers.