Webhook urlhttps://dashboard.ericssonudn.com/rest/webhooks/pushnotification
Following settingsEventsIssue related eventsJQL: project IN(DevOps,CDX,DOC,LB,MON,UDNP,CIS,CS,RENG,AN) AND issuetype in ("Problem","bug")Issue link created deletedIssue created updated deleted worklog changedWorklog created updated deletedComment created updated deletedExclude bodyNoTransitionsNo linked transitions.
Whenever this(/rest/webhooks/pushnotification) endpoint is invoked on post method I am writing all JSON body to a file. I am checking wether it is invoked or not by following url
https://dashboard.ericssonudn.com/getwebhookfilecontent
But I get nothing. I am assuming it is never invoking my end point /rest/webhooks/pushnotification
Please help me how can troubleshoot this issue. you guy should have something where I can check how many times this webhook is invoked
Hi Sandeep,
I found a resource that may be of assistance in the Community post titled Solved: Webhook not called. Why?. The link is postcatcher.in:
PostCatcher lets you debug webhooks by capturing and logging the asynchronous requests made when events happen. Create a PostCatcher and register the URL with a webhook triggerer. All POST requests to the URL are logged for you to see when you browse to that URL.
In addition please vote on JRASERVER-41388: WebHooks will not log any errors or throw an exception when there's a connection error. In the description there is additional information that can help you figure out what's going on:
Diagnose
Identify why the connection is failing - this can be tested outside of JIRA by using network tools such as cURL, telnet and/or ping. For example, if the target URL is www.example.com/webhook/test/ perform these tests from the JIRA server:
- If using the -Dhttp.nonProxyHosts argument, the request may be failing due to JRA-43143 (WebHooks are not respecting this argument).
- ping www.example.com to see if the servers can establish a network connection.
- telnet www.example.com 80 to see if the appropriate port is open.
- curl -X POST www.example.com/webhook/test/ to see that you can submit a POST to the target server.
If these tests fail, it can indicate that network / firewall / DNS configurations may need to be addressed, depending upon the errors returned from the different tests.
If this is SSL related, ensure to import the self-signed certificate into the trust store as per Connecting to SSL services.
Hopefully that helps and let us know what you find.
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.