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

Webhook payloads generated for all webhooks cause performance issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 10.3.11, 11.0.2, 11.1.1, 11.2.0
    • 10.0.0, 10.3.0, 10.3.10, 11.0.0, 11.0.1
    • Webhooks
    • None
    • 10
    • 5
    • Severity 2 - Major
    • 59
    • Hide
      Atlassian Update – 18 Sep 2025

      Hi everyone,

      The fix is ready, and we’re moving the status of this ticket to Waiting for release with Fix Versions 10.3.11, 11.0.2, 11.1.1, 11.2.0.

      Show
      Atlassian Update – 18 Sep 2025 Hi everyone, The fix is ready, and we’re moving the status of this ticket to Waiting for release with Fix Versions 10.3.11, 11.0.2, 11.1.1, 11.2.0 .

      Issue Summary

      In Jira Data Center 10.0.0, the Atlassian Webhooks Plugin was upgraded to 8.0.x.

      In 8.0.x versions, when a webhook is called, all payloads for webhooks are being created.
      Once the filter is applied, any webhooks that don't match the filters are then discarded.

      This is more inefficient than in previous versions as payload builds can be expensive.
      In some cases, this may lead to performance issues with many webhooks and events.

      Expected Results

      Only webhook payloads are created that match the filter.

      Actual Results

      All webhook payloads are being created and then filtered out.
      When webhook issues appear, these may show up in the logs:

      atlassian-jira.log
      2025-03-25 14:05:00,000+0000 http-nio-8080-exec-1 ERROR charlie 1x1x1 abcdef 0.0.0.0 /secure/AjaxIssueAction.jspa [c.a.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.jira.event.issue.IssueEvent@cafebabe[issue=TIS-1,comment=<null>,worklog=<null>,changelog=[GenericEntity:ChangeGroup][issue,10000][author,charlie][created,2025-03-25 14:04:59.00][id,10000],eventTypeId=2,sendMail=true,params={eventsource=action, baseurl=https://jira.example.com},subtasksUpdated=true,spanningOperation=Optional.empty]] from the invoker [com.atlassian.event.internal.ComparableListenerInvoker@cafebabe]
      java.lang.RuntimeException: Task com.atlassian.webhooks.internal.DefaultWebhookService$$Lambda$1234/0x0000000cafebebe@cafebabe rejected from java.util.concurrent.ThreadPoolExecutor@cafebabe[Running, pool size = 5, active threads = 5, queued tasks = 250, completed tasks = 80000]. Listener: com.atlassian.jira.plugins.webhooks.spi.JiraWebhookEventPublisher event: com.atlassian.jira.event.issue.IssueEvent

      Workaround

      Depending on the size of the environment and number of webhooks used, you may be able to workaround this issue by adjusting some of webhook parameters as mentioned in our Tuning webhook performance parameters in Jira Data Center KB article.

              drauf Daniel Rauf
              1cbcaa6c90d8 Adrian Castillo
              Votes:
              5 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: