Sync ServiceNow incident to Jira issue from Slack

Social, UtilitiesIT HelpdeskProject management

What it does

When someone runs the Service_now sync incident command in Slack with an incident number, this automation searches ServiceNow and Jira to avoid duplicates. It creates a Jira issue from the incident details and posts the outcome in Slack.

Who it's for

IT teams who need to sync ServiceNow incidents to Jira without switching between tools.

How teams use this

Sync incidents to a specific Jira project

Run the Service_now sync incident command and specify the Jira project key so all incidents land in the right place. The team sees the issue link in Slack right away.

Route incidents by type to different projects

Set up the automation to check the incident category and route it to a different Jira project based on that value. Only incidents matching your filter get synced.

Sync to a DevOps Jira workspace

Point the automation at a different Jira instance or project so infrastructure incidents sync to the DevOps team's board instead. The command and Slack flow stay the same.

Include custom fields on the Jira issue

Add ServiceNow custom fields like cost center or assignment group to the Jira issue when it is created. Map those fields so the full context moves over.

How it works

  1. Run the sync command. Type the Service_now sync incident command in Slack with the ServiceNow incident number so the automation knows which incident to sync.
  2. Retrieve incident details. Search ServiceNow for the incident by number, then get its full details including title, description, and priority to pass to Jira.
  3. Check for existing issue. Search Jira for an issue with the same subject so the incident is not created twice in Jira.
  4. Create the issue. Create a new Jira issue with the incident details when no matching issue exists, using the project key and issue type you set.
  5. Post the result. Reply in the Slack channel with the Jira issue link and incident details so the team knows the sync is complete.