Forums

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

JSM Alerts - Auto-Close Rule: How to Exclude a Text String?

Sara Beyer
Community Champion
May 26, 2025

I'm trying to set up an auto-close rule in JSM Alerts and want to exclude alerts that contain a specific text string. I tried using the string in quotes and also without quotes, but neither approach worked.

Has anyone successfully excluded alerts based on specific text content? What’s the correct syntax or method to do this?

Thanks in advance!

Screenshot 2025-05-22 at 12.09.52.png

2 answers

1 accepted

0 votes
Answer accepted
Sara Beyer
Community Champion
May 30, 2025

Final answer from Atlassian:

 

Unfortunately, the integration does not function as an automation process. It can either perform one action or the other, but not both at the same time. Here’s what occurs: it receives the incoming request from the integration, identifies the "create" action, and simply executes it. It does not verify any other settings. The second action would only occur if another incoming request is received that corresponds to "close."

 

Workaround - Automation (Need Jira Admin to do)

Fortunately, you can setup an Automation rule to manage these situations. For instance, you might use this pathing:

  1. Trigger > Alert created
  2. Condition > Alert fields condition
  3. Action > Change alert status (Available for JSM Premium)

 

Workaround - Notification Policies (Don't need Jira Admin to do)

Another way I found that works to Auto-Close Alerts is from Operations > Overview > Policies > Notification policies 

Teams can manage these auto-close rules themselves which helps to reduce the admin overhead.

0 votes
Christopher Yen
Community Champion
May 26, 2025

Hi @Sara Beyer 

I'm still a bit new to JSM Operations/Alerts but I think the string does not need quotes. From what I've seen it seems if there are quotes it will be looking for the text in quotes in your subject / message

 

Suggest an answer

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

Atlassian Community Events