Skip to main content

Synchronize priority between ServiceNow and Moogsoft Cloud

Using the ServiceNow integration, you can enable synchronization of priority and severity values between ServiceNow and Moogsoft Cloud.

Version 3.0.0 of the ServiceNow integration update set introduces support for the Moogsoft incident priority and the ability to synchronize priority between Moogsoft and ServiceNow. The new feature makes use of the existing priority mapping with some additional options.

The section to map Moogsoft severity to ServiceNow priority gets two new options. The section for mapping Moogsoft priority to ServiceNow impact and urgency also gets a new option and a new setting for priority '5 - Planning':

  • Enable mapping of Moogsoft severity to ServiceNow priority

  • Only update priority on increasing severity

  • Enable bi-directional synchronization of priority values

To learn more about what each of these options do, see ServiceNow integration properties reference.

Enable priority synchronization

To enable priority synchronization between ServiceNow and Moogsoft:

  1. In ServiceNow, navigate to All > Moogsoft Integration > System > Moogsoft Cloud Properties.

  2. Turn on Enable bi-directional synchronization of priority values.

  3. Click Save.

Modify the webhook endpoint

If you updated to the ServiceNow v3.0.0 update set from a version older than v3.0.0, you need to adjust your webhook endpoint in Moogsoft in order to use the maintenance window feature.

  • If you configured your ServiceNow integration automatically, follow these steps:

    1. Within Moogsoft, navigate to Integrations > Outbound Integrations > Alert Webhook (Deprecated).

    2. Click the "ServiceNowIncident" webhook to open it.

    3. Click Edit.

    4. Under the UPDATE Notifications section, enable Priority changed.

    5. Under the Payload Body for UPDATE Operation section, add the following line of JSON to the end of the existing payload:

      "u_priority": "$priority_numeric"
  • If you configured your ServiceNow integration manually, follow these steps:

    1. Within Moogsoft, navigate to Integrations > Outbound Integrations > Webhook Endpoint > Incident Webhook Endpoint.

    2. Click the "ServiceNow UPDATE" webhook endpoint to open it.

    3. Click Edit.

    4. Under the Triggers section, enable Priority changed.

    5. Under the Payload Body section, add the following line of JSON to the end of the existing payload:

      "u_priority": "$priority_numeric"

Run the fix script

Note

This section is only relevant if you want to use the priority sync feature and have modified the standard impact and urgency ranges for your integration.

The fix script re-adjusts your impact and urgency ranges if they have been modified. To run the fix script:

  1. Within ServiceNow, navigate to All > Moogsoft Integration > Scripts > Fix Scripts.

  2. Click Adjust Impact & Urgency Properties.

  3. Click Run Fix Script.

  4. Click Proceed.

  5. Navigate to All > Moogsoft Integration > System > Moogsoft Cloud Properties.

  6. Scroll down to the bottom of the page.

  7. Under the Priority Mappings and Priority Settings sections, click on the lists and ensure that the options have been updated to reflect your custom priority configurations.

Test priority synchronization

Finally, test the priority synchronization feature. Before you begin, ensure that the Incident Creation Threshold of your active correlation definition is set to "1."

  1. Within Moogsoft, navigate to Integrations > Ingestion Services > Events API.

  2. Send an event to your Moogsoft instance.

  3. Navigate to Incidents > Incidents.

  4. Select the new incident that was generated.

  5. Change the priority of the incident to P1.

  6. Click on the Outbound tab in the incident details pane.

  7. Under External Link, click the outbound link. This will take you to the corresponding page for the incident in ServiceNow.

  8. Make sure that the priority of the ServiceNow incident has been changed to the following: "1 - Critical."