Files
zulip/zerver/webhooks/newrelic/fixtures/incident_acknowledged_old.json
rodwan-bakkar bfd9fc8622 integration: Fix integration with newrelic.
Newrelic updated the payload that's sent via the webhook incoming call
causing a bug in the newrelic webhook endpoint.
This fixes the bug by updating the endpoint to respect the new format
of the payload as well as the old format. This should be updated once
the old format is EOLed.

Fixes #22338.
2022-07-27 16:15:29 -07:00

12 lines
431 B
JSON

{
"incident_acknowledge_url": "https://alerts.newrelic.com/accounts/2941966/incidents/1234/acknowledge",
"incident_id": 1234,
"details": "Violation description test.",
"policy_name": "Test policy name",
"condition_name": "Server Down",
"timestamp": 1605133931151,
"current_state": "acknowledged",
"owner": "Alice",
"incident_url": "https://alerts.newrelic.com/accounts/2941966/incidents/1234"
}