-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Operations - Sync
-
1
-
Minor
Issue Summary
When sending JSON details data from Opsgenie to JSM and setting the details into a text field it will be parsed as an object instead of a JSON.
Steps to Reproduce
- Create an integration where an alert opens new Incident ticket in JSM
- Send a JSON object as "Details" into the alert.
- Populate a text field in the JSM ticket with the "Details"
Example payload:
{
"message":"API Test",
"details":
{
"snap_url": "https://p.datadoghq.com/snapshot/view/dd-snapshots-prod/org_2305/2014-07-23/examplepng",
"group": "guruop",
"name": "aws.dynamodb.returned_item_count",
"type": "metric alert",
"group_key": "key5",
"query":"min(last_5m):avg:system.cpu.idle{*} < 99",
"message": "@opsgenie-service_1",
"org_id": 2305,
"id": 59482,
"metric": "system.cpu.idle"
}
}
Expected Results
The JSM Ticket should present the following data:

Actual Results

Workaround
Adding a space before the "details" makes JSM parse the data properly:
