Hi,
Im trying to set alert with notifications after specific issue is created. After several hours i have managed to get automatically created alert but the notification is not sent.
This is the alert log message
notification John Smith "Rule[NoRule][Create] -> Skipped sending notification, user has no active rules"
And the notification is not sent.
But for that specific account John Smith there are created notification rules in section /settings/user/notification for New Alert - notification via email and notification via email.
Am I missing something?
Thank you
If I had to guess the alert that tried notifying you did not have the tag "URGENT" - or it did, but did not match the regex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Miroslav Stopka ,
This user most likely doesn't have a matching New Alert notification rule configured.
Maybe their rule has a filter, time restriction, etc. If you have permissions to check their rules, you should be able to review them here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I had to guess the alert that tried notifying you did not have the tag "URGENT" - or it did, but did not match the regex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And are the labels being added as tags on the Opsgenie alerts? Is this tag shown in the same alert you're having issues with?
I tested with the rule you shared, and was able to successfully be notified:
That regex is case sensitive though and needs to match exact, otherwise it will not work:
If you're looking for a "friendlier" regex that disregards case sensitivity, you could use something like this:
(?i).*urgent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey man, God bless you :),
It is working now.
Thank you for your fast and useful help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nick H I have one more question. Is it possible to configure SMS content? For example to add attribute "Alias" from Alert.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That unfortunately is not possible at this time. "The SMS content includes the alert message and the short URL for the alert."
https://support.atlassian.com/opsgenie/docs/send-voice-and-sms-notifications/#SMS-Notifications
So you'd have to include the alias in the message field either through the integration's advanced tab under each create alert actions' message field:
https://support.atlassian.com/opsgenie/docs/use-advanced-integration-settings/#Alert-Fields
or modify the alert at creation with an alert policy to add the alias into the message field:
https://support.atlassian.com/opsgenie/docs/create-and-manage-global-alert-policies/
Note both of these options / functionality are included with only the Standard and Enterprise plans.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.