Notify Slack user when JIRA issue resolves

Project managementIT HelpdeskSocial, UtilitiesUtilities

What it does

When an issue reaches Closed, Resolved, or Done status in JIRA, this automation searches ServiceNow for the linked incident. It resolves that incident and notifies the Slack user who created the JIRA issue.

Who it's for

IT teams who manage incidents across JIRA and ServiceNow and need Slack notifications when issues close.

How teams use this

Keep ServiceNow and JIRA in sync

When an issue closes in JIRA, resolve the matching incident in ServiceNow automatically so both systems reflect the same status. The team no longer updates ServiceNow manually.

Alert users across both platforms

Someone who reported the problem gets notified in Slack when the JIRA issue resolves, so they see the update in their primary communication tool without checking ServiceNow.

Extend to include resolution details

Add the JIRA resolution reason or ServiceNow resolution notes to the Slack notification so someone sees why the issue was closed and what was done to fix it.

Route notifications by incident type

Filter which incidents trigger Slack notifications based on priority or category so only critical or security incidents alert someone who needs to know immediately.

How it works

  1. Detect when issue is resolved. Monitor JIRA for issues with a status of Closed, Resolved, or Done. The automation starts only when one of those statuses appears.
  2. Find the linked incident. Search ServiceNow for an incident using the ServiceNow Incident Number field from the JIRA issue. If that field is blank, the job stops and no further steps run.
  3. Resolve the incident. Update the ServiceNow incident to resolved status so both systems stay in sync and the record reflects the same state.
  4. Notify the issue creator. Send a Slack message to someone who opened the JIRA issue, matching their ServiceNow user ID to their Slack handle so they know the incident is resolved.