Is it possible to implement custom payload in the Opsgenie outgoing webbook?

이진규
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2023
Is it possible to implement custom payload in the Opsgenie outgoing webbook?
e.g.
{
  "message": "alert body",
  "custom key": "alert Priority",
}

1 answer

1 accepted

0 votes
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 24, 2023

Hi @이진규 ,

While you can't customize the payload from the webhook integration, you can add custom fields to alerts via the integrations that created them by using the "extra properties" fields.

For example, if using an API integration to create an alert, you could add an extra property called "custom key" and set the value to the alert's priority. 

2023-10-24_22-59-10.png

Then, when alerts created by the API integration are sent by the webhook, the extra properties will be included as children of the "details" key.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events