Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
minLevel1
maxLevel3
outlinefalse
typelist
printablefalse

Overview

What does the integration offer?

Integrate SCOM with Jira Service Management to forward both Operations Manager alerts and updates to Jira Service Management and benefit from Jira Service Management’s actionable alerts, powerful on-call schedules, escalations and reporting services. Microsoft System Center Operations Manager forwards alert events to Jira Service Management to create alerts and acknowledge, close, and add notes to them using PowerShell. Benefit from Jira Service Management’s alert deduplication by using SCOM integration.

How does the integration work?

  • When an alert is created on SCOM, an alert is created in Jira Service Management automatically through the integration.

  • When an alert is resolved or closed on SCOM, the related alert is closed in Jira Service Management.

  • When an alert is acknowledged on SCOM, the related alert is acknowledged in Jira Service Management.

Supported versions

Following are the versions of Windows the integration supports:

  • Windows Server 2012 R2 (Windows Server 2012 works too)

  • Windows Server 2016

  • Windows Server 2019

  • Windows Server 2022

Following are the versions of SCOM the integration supports:

  • System Center Operations Manager 2012 R2 (SCOM 2012 works too)

  • System Center Operations Manager 2016

  • System Center Operations Manager 2019

  • System Center Operations Manager 2022

The integration is not tested on the 2018 releases of SCOM, but it can also work on:

  • System Center Operations Manager 1801

  • System Center Operations Manager 1807

Set up the integration

SCOM is an API-based integration. Setting it up involves the following steps:

  • Add a SCOM integration in Jira Service Management

  • Configure the integration in SCOM

Add SCOM integration

Info

If you're using the Free or Standard plan in Jira Service Management, you can only add this integration from your team’s operations page. To access the feature through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be on Premium or Enterprise plan.

Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management assigns the alerts received through this integration to your team only.

To add a SCOM integration in Jira Service Management:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “SCOM”.

  4. On the next screen, enter aname for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the integration URL.
    You will use this URL while configuring the integration in SCOM later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Microsoft SCOM

To configure the integration in SCOM, complete these steps:

1. On each SCOM application host in your cluster, create a new folder by name ”jsm” under your root scripts directory. The path should be C:\scripts\jsm.

2. Download Jira Service Management's SCOM PowerShell Script and copy it into the directory created in Step 1. Make sure that the name of the script file is “jsm.ps1” and its path is C:\scripts\jsm\jsm.ps1.

Expand
titleMinimum requirement for Powershell

The minimum version of Powershell required for the script to work is 3.0. If you’re using a version older than 3.0, you’ll need to develop the Powershell Script code for converting the values into JSON and posting the HTTP request to Jira Service Management yourself.

3. Install the PowerShell script:

3.a.) Open an elevated command prompt.

3.b.) Unblock the script file if you haven’t done so already.

Code Block
Powershell -command "Unblock-File C:\scripts\jsm\jsm.ps1"

Repeat this step on all the SCOM application hosts in your cluster.

3.c.) Run the following command:

Code Block
Powershell -ExecutionPolicy bypass -file C:\scripts\jsm\jsm.ps1 -Url [integration url] -install

Repeat this step on all the SCOM application hosts in your cluster.

Sample payload sent from SCOM

Expand
titleSample payload (in JSON format)
Code Block
{
  "owner": "np",
  "lastModified": "12/24/2015 11:47:16 AM",
  "resolutionState": "New",
  "timeRaised": "12/24/2015 11:47:16 AM",
  "resolutionStateLastModified": "np",
  "workflowId": "{7eba60fd-b179-69a7-3897-47b6753601f2}",
  "category": "Custom",
  "alertId": "{2ba87d56-a7af-4b42-bdcc-eb18486bd8cd}",
  "alertName": "Alert for event 999",
  "priority": "1",
  "severity": "2",
  "createdByMonitor": "false",
  "repeatCount": "0",
  "alertDescription": "np",
  "managedEntitySource": "WIN-RQTU8UB5TU5.jsmscom.com"
}

...

See also

Explore integration types

Explore integration actions

Add integration rules