How to close Opsgenie alert when corresponding JSM work item is deleted

Platform Notice: Cloud Only - This article only applies to Atlassian apps on the cloud platform.

Summary

Learn how to automatically close Opsgenie alerts when a Jira work item is deleted.

Solution

Modify the corresponding workflow and add a new status. Name it something like delete issue. This status should be reachable from all the statuses.

Workflow of an issue's lifecycle: All > Open > In Progress > Resolved > Closed.  Open can also lead to Pending or Additional Info Requested, both of which can return to Open. Issues can be permanently deleted from the All state.

When the work item transitions to the new status, it fires a work item updated event that you can catch in Opsgenie and close the alert. Configure the integration as shown below.

Alert automation rules: Create alert if issue created. Close alert if issue status is Done or Deleted.

Build an automation based on the trigger when the work item transitions. This rule deletes the work item as soon as it transitions to the status.

Updated on September 25, 2025

Still need help?

The Atlassian Community is here for you.