How to close Opsgenie alert when corresponding JSM issue is deleted

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

Summary

This knowledge base article will illustrate how to close the Opsgenie alert when the corresponding issue is deleted. The reason to develop this workaround is that as of now Jira doesn't send any information to the Opsgenie in case of issue deleted event is fired.

Solution

Please follow the steps below to build the 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.

(Auto-migrated image: description temporarily unavailable)
  • When the issue will transition to the new status, it will fire an issue updated event that you can catch in the opsgenie and close the alert. Configure the integration as shown below.

(Auto-migrated image: description temporarily unavailable)

  • Build an automation based on the trigger when issue transitioned. This rule deletes the issue as soon as the issue is transitioned to the status.

(Auto-migrated image: description temporarily unavailable)
Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.