Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-39361

We should improve the Webhooks logging

XMLWordPrintable

    • 1
    • 16
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      If a webhook POST fails, in most cases we only get the HTTP error code in the JIRA logs, as the example below:

      2014-07-29 12:07:31,550 webhooks-http-retriever:thread-2 ERROR      [webhooks.util.http.CachingHttpContentRetriever] Unable to post to http://jira.test.com/test due to HTTP/1.1 400 Bad Request
      2014-07-29 12:07:44,173 webhooks-http-retriever:thread-3 ERROR      [webhooks.util.http.CachingHttpContentRetriever] Unable to post to http://jira.test.com/test due to HTTP/1.1 400 Bad Request
      2014-07-29 12:08:04,362 webhooks-http-retriever:thread-4 ERROR      [webhooks.util.http.CachingHttpContentRetriever] Unable to post to http://jira.test.com/test due to HTTP/1.1 400 Bad Request
      

      It would be good to allow logging the entire HTTP response as well (e.g. by increasing the logging level), as it may contain information which can help during the troubleshooting process when the webhook is not working.

            Unassigned Unassigned
            dconrad Danilo Conrad
            Votes:
            21 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: