Rule[NoRule][Create] -> Skipped sending notification, user has no active rules
Asked by Miroslav Stopka:

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


Answers:
author: Miroslav Stopka
body: .

comments: author: Nick H
body: 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.


author: Nick H
body: Hi [@Miroslav Stopka](/t5/user/viewprofilepage/user-id/4156217) ,

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:

![nrc1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/184905i5C1BB319EB8D72E1/image-size/large?v=v2&px=999 "nrc1.jpg")![nrc2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/184904iD6638D2447878DFB/image-size/large?v=v2&px=999 "nrc2.jpg")

comments: author: Miroslav Stopka
body: Actually, thats my account. Here is the configuration:

![Screenshot 2022-02-22 at 22.18.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/184907iA8ED500B85CDB8BB/image-size/large?v=v2&px=999 "Screenshot 2022-02-22 at 22.18.02.png")


author: Nick H
body: 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.


author: Miroslav Stopka
body: The issue has Label URGENT - automatically added.

![Screenshot 2022-02-22 at 22.32.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/184908iF527BEB4F01A640C/image-size/large?v=v2&px=999 "Screenshot 2022-02-22 at 22.32.16.png")


author: Nick H
body: 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:

![nr3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/184910iF68F6FDF8F6B5037/image-size/large?v=v2&px=999 "nr3.jpg")![nr4.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/184911i9FD591F5CC3C5E9E/image-size/large?v=v2&px=999 "nr4.jpg")

That regex is case sensitive though and needs to match exact, otherwise it will not work:

![nr5.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/184912i10D7FFFF3F93FBEA/image-size/large?v=v2&px=999 "nr5.jpg")

If you're looking for a "friendlier" regex that disregards case sensitivity, you could use something like this:

(?i).\*urgent

![nr6.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/184913iD3E447A236E3BC12/image-size/large?v=v2&px=999 "nr6.jpg")![nr7.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/184914iF5C71AF1B76B2B47/image-size/large?v=v2&px=999 "nr7.jpg")


author: Miroslav Stopka
body: Hey man, God bless you :),

It is working now.

Thank you for your fast and useful help.


author: Miroslav Stopka
body: [@Nick H](/t5/user/viewprofilepage/user-id/2540930) I have one more question. Is it possible to configure SMS content? For example to add attribute "Alias" from Alert.


author: Nick H
body: 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.