Hi,
I am using Jira Service Desk Cloud and will be setting up a new webhook.
How do I go about viewing/trapping any errors that might occur when the webhook fails to make a post to the defined URL?
Thanks
Jenny
Hello @Jennifer Gardner , I know that for Jira Server you can Collect data to troubleshoot Webhook failure in Jira server . However, for Jira Cloud I found this
Jira Cloud Webhooks
If a webhook is sent to its callback URL but fails, Jira Cloud will attempt to resend it up to five times. Each subsequent attempt is delayed with a randomized exponential back-off algorithm. The first retry occurs after at least 10 seconds, and the last between 15 and 30 minutes from the first failure.
Retries are attempted when any of the following are true:
This means that some webhooks might be delivered more than once (if the delivery acknowledgment fails).
Every webhook contains the X-Atlassian-Webhook-Identifier
header that provides an identifier for a webhook. This identifier is unique within a Jira Cloud tenant and is the same across retries. After you have processed a webhook, you can use the identifier to filter out retries.
The X-Atlassian-Webhook-Retry
header with the current retry count is included with webhooks that have been retried. Monitor this header and cross-reference it with the callback server logs to stay on top of any unexpected reliability problems.
Webhooks that are not delivered after the maximum number of retries can be found with the Get failed webhooks operation."
Also, please feel free to vote and comment on these feature requests:
JRACLOUD-39361
JRACLOUD-41388
Best,
Sachin.
Hi Sachin,
Thank you for your informative response.
Unfortunately for me, this doesn't give me what I was hoping for i.e. Get failed webhooks operation - 'Permissions required: Only Connect apps can use this operation.'
I'm not using a connect app.
Thank you for your help.
Kindest Regards
Jenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.