Debounce and coalescing

Debounce and coalescing

Webhooks Pro debounces rapid events to the same entity into one delivery. If you edit an issue's summary, then add a label, then reassign it within seconds, the receiver gets one Issue updated with the final state — not three.

Debounce is the single biggest reason Webhooks Pro is quieter than raw Jira webhooks. It also delays delivery by the debounce window. This page explains the trade-off and how to tune it.


How it works

Each event is keyed by (webhook, entity). For an issue event, the entity is the issue. For a comment, the comment's parent issue. Etc.

t = 0s Event A arrives → window starts → debounce_until = t + 25s t = 5s Event B arrives → debounce_until extended to t + 25s (now t = 30s) t = 12s Event C arrives → debounce_until extended to t + 25s (now t = 37s) … t = 37s No more events for 25s → consumer fires → ONE delivery with the final state

Two consequences:

  1. Each new event resets the window. A continuously-edited issue keeps deferring delivery until the burst stops.

  2. There is a base delay. Even a single isolated event waits at least the window length before delivery.

The default is 25 seconds, configurable on Tenant settings → Webhooks → Debounce window.


What gets coalesced

Source

Coalesced

Source

Coalesced

Two issue updates on the same issue, same webhook

✅ Yes — one delivery with the latest state

Issue update + comment add on the same issue, same webhook

❌ No — different event types

Issue updates on two different issues, same webhook

❌ No — different entities

Issue update on the same issue, two different webhooks

❌ No — different webhooks

Worklog updates on the same worklog, same webhook

✅ Yes

Comment updates on the same comment, same webhook

✅ Yes

Debounce is per (webhook, entity, event-family). Cross-type events go through independently.


What the receiver actually gets

The final state of the entity at the moment of delivery. If the issue summary went A → B → C during the burst, the delivered payload contains summary: C. Intermediate states are not preserved.

This is the right behaviour for "sync this Jira issue to my warehouse" and "notify on the latest state" use cases — which is what most webhooks are. If you need every keystroke as a separate event, debounce is wrong for you and you should reduce the window to its minimum (5 seconds).


Tuning

The window is a tenant-wide setting on Settings → Webhooks → Debounce window:

Window

Behaviour

Window

Behaviour

5 seconds

Minimal coalescing. Bursts that are spaced by even a few seconds will deliver separately. Lowest latency, highest noise.

10 seconds

Light coalescing. Good for high-traffic Jira sites where you don't mind some duplicate deliveries.

25 seconds (default)

Catches typical edit bursts (summary → priority → assignee). Good balance of noise vs. latency.

60 seconds

Aggressive coalescing. Use when downstream is slow / batched (data warehouse loaders, weekly digests).

5 minutes

Maximum coalescing. Feel-out-the-pulse use cases — periodic external sync where one delivery per 5 min is fine.

The window is per tenant, not per webhook. If two webhooks have very different needs (one wants instant, one wants batched), pick the smaller value here and rely on the receiver to batch its side.


Latency: what to expect

Total delay from first event to delivery, with default settings:

DEBOUNCE_SECONDS (25) + INITIAL_QUEUE_EXTRA_DELAY (10) = ~35 seconds minimum

The 10-second buffer is queue scheduling headroom — it makes sure the consumer doesn't fire before the debounce window expires under late-arriving events.

If new events keep arriving, this can extend by up to the window length each time. In practice the consumer fires within a few seconds of the window expiring.


Debounce vs Atlassian's event delivery

Atlassian sometimes also coalesces events on its side (e.g., a single Jira save that updates multiple fields produces one event, not one per field). Webhooks Pro's debounce sits on top of that — Atlassian's coalescing is invisible to the app, and ours stacks on what Atlassian delivers.

In practice this means: events look already-coalesced when they arrive, and Webhooks Pro's debounce primarily catches user behaviour like quick repeated saves.


When debounce hurts

  • Real-time pages — if your receiver is a live dashboard or chatbot that needs sub-second updates, the 25-second floor is too high. Drop to 5 seconds.

  • Status-transition triggers — if you only care about a specific transition (To Do → In Progress), debounce can drop intermediate transitions. Use the Trigger Webhook post function instead — it fires per transition, no debounce.

  • Audit log — if the auditor wants every save to be a separate row, drop to 5 seconds. (Or accept that bursts within the same second are intrinsically a single Jira save anyway.)

  • Counting deliveries for billing — if your downstream meters by delivery count, debounce reduces the count. Adjust your meter or your window.


When debounce helps a lot

  • Slack / chat notifications — a wall of "X just edited the issue 5 times" is noise. Debounce makes the channel readable.

  • Data warehouse / ETL — fewer deliveries, same final state, lower load.

  • Receivers with rate limits — debounce naturally smooths bursts.

  • Build triggers — one build per state change instead of one per keystroke.


How debounce shows up in logs

In Webhook Logs, only the delivered event is logged. Coalesced source events have no log row of their own. The delivered row's payload reflects the final state, including edits that came in late in the window.


Related