The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Search for alerts that either have an empty message or empty description

Anders.Bergenholtz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 2, 2024

Is there a way to query alerts that either have an empty message or empty description in the alert view filter or through an API call? This could happen when alerts are originating from emails. I have read this page Search queries for alerts | Opsgenie | Atlassian Support. 

Btw, why is a alert message called subject in the configuration of an alert rule, and alert description is called alert message in the alert rule. This is confusing, or have I got it wrong?

Thanks in advance, Anders

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Shashwat Khare
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 2024

Hello @Anders.Bergenholtz ,

This is Shashwat from Opsgenie support and here to help! :) 

Kindly note that the "null" value isn't supported in the search queries for alerts in the Opsgenie Web UI.

Alternatively, you can use the List Alerts API endpoint to list out all alerts and then search through the results with the message/description value as blank.

Best,
Shashwat

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events