Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Webhook to pagerduty not working

Warren Groenewald August 2, 2022

I have an automation on service desk which should fire off a webhook to pagerduty.

Following this guide I have setup the webhook.

Using Postman the shape of my request is:

 


POST URL:
https://api.pagerduty.com/incidents

Headers:
Authorization: Token token=<my_token>
Accept: application/vnd.pagerduty+json;version=2
Content-Type: application/json
From: <my_email>

Body:

{
"incident": {
"type": "incident",
"title": "TEST TEST TEST",
"service": {
"id": "<service_id>",
"type": "service_reference"
}
}
}


Sending the above creates my incident in pagerduty as expected.

I've copied the above exactly into my webhook into Jira, with the body being the "custom payload". I get no incident created in Pagerduty but service desk automations still show the event as a success.

What am I possibly missing?

 

1 answer

0 votes
BV
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!
April 18, 2025

Hello

Did you managed to solve this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events