Hi,
I have one project in JIRA that also has one webhook. The webhook connects with external service if an issue is created or updated. And this configuration works fine most of the time.
However, we had a situation at the beginning of the month that issue was created although webhook was not triggered. Due to that, some actions were not triggered on the external server. In the logs I was not able to find any exceptions for the problematic issue. And my question at this point is if such situation is possible in general ? Is there any way to increase logging information for webhooks to collect information about each webhook execution ?
JIRA version: 6.4
ScriptRunner version: 3.0.16
Thank you for help,
Rafal
Dear @Rafal Sojka,
probably you already know, but your Jira is quite old. I can imagine, that there are bugs in the webhook implementation, that have been meanwhile fixed.
The log level doesn't need to be increased, because, if a webhook fails, it will throw an error or at least a warning. If you have warning level enabled, you should find something in the log files. Eventually only in catalina.out.
But just make some test on your own:
Create a new webhook in a test project. Let it point to an address of a webserver, you can control. Disable the webserver and fire a transition (to trigger the webhook) and see what happens in the logs.
If its is visible, you can set up a nagios log file check that alerts if key words appear in the log - then you get notified.
So long
Thomas
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.