Is there a way to customize the payload of the webhook integration

Dewey Du May 5, 2022

I'd like to send notifications to wecom using webhook while alerts are created or updated. However, the JSON payload received by wecom robot should be in a format like the below. So if there is a way to customize the alert payload send by opsgenie?

And also does opsgenie support custom integration written by community. I didn't find any doc, or else I'd like to create an customized integration and convert the payload by myself

 

 

{

    "msgtype": "text",

    "text": {"content":"xxx"}

}

 

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.
May 6, 2022

Hi @Dewey Du,

There is no feature that allows you to customize the webhook payload, so you would need to send it to another endpoint first and modify it before sending it to Wecom. I didn't see any community project for this either, so you would most likely need to build that integration yourself. 

Dewey Du May 6, 2022

Got it, thanks. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events