Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
This integration uses the Salesforce extension of Magentrix.
Opsgenie provides a powerful bidirectional integration with Magentrix. Use the Magentrix integration to create an alert in Opsgenie when a case is created in the Customer Portal and vice versa. This mirroring helps to aggregate alerts to the right people at the right time with Opsgenie’s robust on-call configurations and routing rules.
When a case is created in Magentrix Customer Portal, an alert is created in Opsgenie.
When a case is closed in Magentrix Customer Portal, the alert is closed in Opsgenie.
When the status of the case is changed to Active in Magentrix Customer Portal, the alert is acknowledged in Opsgenie.
When an alert is created in Opsgenie, a case is created in Magentrix Customer Portal.
You can add this integration from your team dashboard
If you're using Opsgenie's Free or Essentials plan, or if you’re using Opsgenie with Jira Service Management's Standard plan, you can only add this integration from your team dashboard as the Integrations page under Settings is not available in your plan.
Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only.
To do that,
Go to your team’s dashboard from Teams,
Select Integrations, and select Add integration.
Follow the rest of the steps to complete the integration.
Go to Settings > Integrations. Search for Magentrix and select Add.
Specify who is notified of Magentrix alerts using the Responders field. Auto-complete suggestions are provided as you type.
Copy the API key.
Select Save Integration.
In Magentrix, click on the user name in the top right.
Select Setup.
Select Develop from the left menu to expand it.
Select Classes & Triggers.
Click New.
Select the "Trigger" option, and click Next.
Select Case (Force) for the "Entity" field, and click Next.
Type OpsgenieAlertTrigger into the "Name" field.
Select 3.0 as the Version.
Click Save.
Copy the content of this file into the editor.
Replace the part with the API key of the integration.
Click Save.
To create new cases from Opsgenie alerts use the Opsgenie to Magentrix section.
Fill the corresponding fields with Magentrix subdomain, username, and password.
Opsgenie allows customers to define action mappings between Opsgenie actions and Magentrix actions.
Use this section to map Opsgenie actions to Magentrix actions when the source of the alert is NOT Magentrix (i.e When the alert is created by another integration.) The Opsgenie action doesn't have to be alert is created, it can be other actions as well.
Case Type
If case type is not provided, its value will be set to "Problem" by default.
If you need to use the custom fields in Opsgenie alerts, you need to customize the Magentrix trigger. In trigger, there are 10 custom fields that you can edit.These fields are defined but not initialized. You can send customized fields in payload by doing following steps:
You can select custom fields by doing Magentrix initializations. The custom fields are already added to payload. When you initialize fields they will be send to Opsgenie.
If you need to add custom fields to Opsgenie alert, please go to Advance Setting in Opsgenie Integration page and update filters or alert setting.
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"caseId": "5002600000DHQfbACH",
"caseDescription": "Sample case description",
"severity": "S3 - Medium",
"caseNumber": "00314044",
"description": "Sample description",
"priority": "Medium",
"subject": "[OpsGenie] Sample message",
"caseType": "Problem",
"ownerEmail": "sampleemail@sample.com",
"caseStatus": "New",
"accountName": "Sample Account",
"assetName": "Sample Asset",
"isEscalated": "TRUE",
"escalatedBy": "0032600000dQcsPAAS",
"customField1": "Sample Custom Field",
"customField2": "Sample Custom Field",
"customField3": "Sample Custom Field",
"customField4": "Sample Custom Field",
"customField5": "Sample Custom Field",
"customField6": "Sample Custom Field",
"customField7": "Sample Custom Field",
"customField8": "Sample Custom Field",
"customField9": "Sample Custom Field",
"customField10": "Sample Custom Field"
}
Was this helpful?