• Products
  • Get started
  • Documentation
  • Resources

Integrate with MongoDB Cloud Manager

This article highlights a new alerting feature that's natively available in Jira Service Management which is gradually rolling out to some Jira Service Management Cloud customers. It may not yet be visible or available on your site.

MongoDB Cloud Manager Logo

What does the integration offer?

Jira Service Management has a Webhook integration with MongoDB Cloud Manager. Use the integration to send MongoDB Cloud Manager incidents to Jira Service ManagementAPI with detailed information. Jira Service Management acts as a dispatcher for MongoDB Cloud Manager alerts, determines the right people to notify based on on-call schedules – notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until they are acknowledged or closed.

This document describes how to configure the integration and details of data that Jira Service Management receives from MongoDB Cloud Manager.

How does the integration work?

When an alert is created on MongoDB Cloud Manager, an alert is created in Jira Service Management automatically through the integration. When an alert is closed on MongoDB Cloud Manager, the related alert is closed in Jira Service Management.

Set up the integration

MongoDB Cloud Manager is an API-based integration. Setting it up involves the following steps:

  • Add a MongoDB Cloud Manager integration in Jira Service Management

  • Configure the integration in MongoDB Cloud Manager

Add a MongoDB Cloud Manager integration

Bidirectional integrations aren’t supported in Free and Standard plans. All the other integrations are supported at a team level in Free and Standard; however, for their outgoing part to work, you need to upgrade to a higher plan. To add any integration at a site level through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be either on Premium or Enterprise.

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

To add a MongoDB Cloud Manager integration in Jira Service Management, complete the following steps:

  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 “MongoDB”.

  4. On the next screen, enter a name 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 MongoDB Cloud Manager 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 MongoDB Cloud Manager

To configure the integration in MongoDB Cloud Manager, complete the following steps:

  1. In MongoDB Cloud Manager, go to Projects > Options > Integrations.

  2. Scroll down to Webhook Settings and select Configure.

  3. Paste the integration URL copied previously into Webhook URL.

  4. Select Save.

Read more about alert configurations in MongoDB Cloud Manager.

Sample payload sent from MongoDB Cloud Manager

Create alert payload (in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 { "alertConfigId": "5770e05ae4b096e0e2c23ca0", "created": "2016-06-28T13:26:23Z", "eventTypeName": "MONITORING_AGENT_DOWN", "groupId": "5770d0ede4b0ca29d1781ccd", "id": "57727affe4b0a7dc53fb9429", "links": [ { "href": "https://cloud.mongodb.com/api/public/v1.0/groups/5770d0ede4b0ca29d1781ccd/alerts/57727affe4b0a7dc53fb9429", "rel": "self" } ], "status": "OPEN", "typeName": "AGENT", "updated": "2016-06-28T13:26:23Z" }

Payload parsed by Jira Service Management (in JSON format)

1 2 3 4 5 6 7 8 [ "title": "[MongoDB Cloud] Alert for : MONITORING_AGENT_DOWN", "description": " Event Type : MONITORING_AGENT_DOWN Status : OPEN Created : 2016-06-28T13:26:23Z", "links": "https://cloud.mongodb.com/api/public/v1.0/groups/5770d0ede4b0ca29d1781ccd/alerts/57727affe4b0a7dc53fb9429" ]


Still need help?

The Atlassian Community is here for you.