Webhook sending default parameters and not custom JSON payload

Anonymous
2020-12-22T22:07:29.623+00:00

I am attempting to send a custom JSON payload instead of the default parameters for a Jira automation webhook.

I'm using a basic payload:

{
"alertname":"#alertrulename",
"IncludeSearchResults":true
}

However, this doesn't seem to be working. I still get the entire set of default parameters.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,257 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,256 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,756 Reputation points
    2020-12-28T15:10:48.41+00:00

    @Anonymous It is recommended you use common alert schema for your webhook integrations. The common alert schema provides the advantage of having a single extensible and unified alert payload across all the alert services in Azure Monitor. However, for log alerts rules that have a custom JSON payload defined, enabling the common schema reverts payload schema to the one described here.

    Kindly select "No" to the common alert schema as shown below and check if you are still getting the default parameters.
    51632-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.