Forums

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

How to automatically close all related alerts when an incident issue is closed?

川目 沙英
Contributor
July 9, 2025

Currently, we have configured the Sync feature to automatically close related alerts when an incident issue is closed.

スクリーンショット 2025-07-09 184815.jpegスクリーンショット 2025-07-09 184832.jpeg

With this setup, alerts created for responders are closed properly.
However, the following two types of alerts are not being closed:
・Alerts newly generated as a result of creating the incident issue
・The original alerts when an incident is created from an alert

The incident issue has the original alert linked as a "linked alert."

Including these, how can I ensure that all related alerts are reliably closed when the incident issue is closed?
I would really appreciate your help.

1 answer

0 votes
Utkarsh Agarwal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2025

Hi @川目 沙英 

Your existing rule for closing alerts only listens to the issue_updated event, which explains why some alerts aren't closing.

Recommended solution:
Adjust your existing "Close Alert" sync rule to listen to additional events that might trigger alert closures. Specifically, update the rule condition to:

IF:
status equals Closed
AND eventType IN (issue_updated, issue_created, issue_commented)
THEN:
close alert

This modification ensures that all related alerts—both newly generated alerts from incident creation and the original linked alert—are reliably closed when the incident issue is closed.

Optionally, adding a Jira Automation rule that posts an internal comment (e.g., "close alert") on incident closure can further enhance reliability, leveraging the issue_commented event explicitly.

Hope this helps!

Kind Regards
Utkarsh

Suggest an answer

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

Atlassian Community Events