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

Webhook payloads do not limit changelog items, causing performance and scalability issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 10.3.13, 11.1.2, 11.2.0, 11.3.0
    • 9.12.0, 10.3.0, 10.3.12, 11.0.0, 11.1.1
    • Webhooks
    • None

      Issue Summary

      When Jira serializes issue payloads for webhooks, all changelog entries for an issue are processed by default, regardless of the number of entries or the needs of the webhook consumer.

      For issues with a long history, this can result in extremely slow webhook delivery, and excessive database load. There is currently no way to configure or limit the number of changelog items included in webhook payloads.

      Steps to Reproduce

      1. Create an issue and perform a large number of updates to generate a substantial changelog history.
      2. Trigger a webhook (e.g., issue updated).
      3. Observe the size of the webhook payload and the time taken to generate and deliver it.

      Expected Results

      Webhook payloads should include a configurable, reasonable number of changelog items.

      Payload generation should be performant and scalable, regardless of issue history size.

      Actual Results

      All changelog entries are always processed for the webhook payload. For issues with extensive history, this leads to:

      • Slow webhook delivery
      • Increased database and network load

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              drauf Daniel Rauf
              drauf Daniel Rauf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: