Close Jira issue and sync ServiceNow or Zendesk

BotsProject ManagementCustomer ServiceIT Service Management

What it does

When someone runs the Jira Close Issue command in Slack, this automation closes the Jira issue. It then searches for the corresponding ServiceNow incident or Zendesk ticket and closes that record too, notifying the channel of the result.

Who it's for

IT teams who need to close Jira issues and keep ServiceNow or Zendesk in sync from Slack.

How teams use this

Close Jira and ServiceNow together

Run the Jira Close Issue command to close both the Jira issue and its linked ServiceNow incident from one Slack message. The team no longer needs to switch between tools.

Sync Zendesk tickets instead

Point this automation to Zendesk tickets instead of ServiceNow incidents so support teams can close both Jira and Zendesk from Slack. The command and flow stay the same.

Add approval before closing

Include a condition to check if the issue is marked as ready to close before the automation runs. Only issues that meet that condition will proceed to close.

How it works

  1. Run the Jira Close Issue command. Type the Jira Close Issue command in a Slack channel or direct message with the issue ID.
  2. Search for the Jira issue. Search Jira for the issue by the ID entered. If the issue does not exist, the automation stops and Slack notifies the channel that the issue number is not valid.
  3. Close the Jira issue. Close the Jira issue when it is found and valid so the record is marked as resolved.
  4. Find and close the ServiceNow incident. Search ServiceNow for the incident using the incident number from the Jira issue custom field, then close it to keep both systems in sync.
  5. Notify the channel. Reply in Slack so the channel and the person who opened the incident know both records are closed.