Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-78800

Refine webhooks logging to help with troubleshooting

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Webhooks
    • None
    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Issue Summary

      • Usage of Webhook name in the logger would be unique and usable. Endpoint is not necessarily unique.
      • If the webhook doesn't return a 200 success code, log it as a WARN by default without having to turn on additional logging.
      • Also, log WARN or ERROR logging with the webhook name whenever it is rejected or dropped from the internal queuing before being invoked.
      • If a webhook doesn't work for some reason, make it easy to identify and alert in standard tooling within Jira

      Expected Results

      Share the webhook name in the logger so that it will be more convenient to identify which webhook has the issue.

      Actual Results

      Currently when trace logging is enabled for com.atlassian.webhooks, it shows the id which is the primary key on the AO_A0B856_WEBHOOK table.

      webhook-dispatcher:thread-1 TRACE anonymous [c.a.webhooks.internal.DefaultWebhookService] A new webhook invocation has been created for webhook [1], invocation [da8631d1-aea2-4075-a173-ae958ffc23ed] 

      Workaround

      Required, if there is no workaround please state:
      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              2a58c9773847 Vijay Krishnan Subramanian
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: