The built-in Default template

The built-in Default template

The Default template is the built-in payload Webhooks Pro sends when no custom template is chosen — and the fall-back when a Fields/Custom JSON render can't run. There's one Default shape per event family; the renderer picks the right one based on which event fired.

You can't edit Default. It's pinned by a reserved id so existing webhook bindings never break across upgrades. If you need a different shape, create a Fields template or Custom JSON template and switch the webhook to it.

The other built-in is Empty Body — {} — for receivers that only need the trigger notification.


Common envelope

Every Default payload has the same outer envelope:

Field

Description

Field

Description

event

Forge event key, e.g. avi:jira:updated:issue, 'schedule'

timestamp

ISO 8601 delivery timestamp

author

accountId of the user who triggered the event (may be null)

baseUrl

Jira site URL

Then a family-specific block. The most common ones:


Issue events

{ "event": "avi:jira:updated:issue", "timestamp": "2026-05-04T10:30:45.000Z", "author": "557058:f2c34d…", "baseUrl": "https://acme.atlassian.net", "issue": { "id": "10042", "key": "ABC-42", "self": "https://acme.atlassian.net/rest/api/3/issue/10042", "fields": { "summary": "...", "status": {...}, "assignee": {...}, ... }, "changelog": { "histories": [...] } } }

The issue block is the full Jira issue REST representation — every field, every custom field, with comment, worklog, attachment always included (Webhooks Pro asks for *all,comment,worklog,attachment). Rendered HTML is also included via expand=renderedFields.

For the field shortcut ({{issue.summary}} vs {{issue.fields.summary}}) and the array accessors (first, last, length), see Template variables and {{ … }} reference.

Comment events

Same envelope plus:

{ "issue": { ... full issue, parent of the comment ... }, "comment": { "id": "10052", "author": { "accountId": "...", "displayName": "John Doe" }, "body": { "type": "doc", "content": [...] }, ← ADF "created": "2026-05-04T10:30:00.000Z", "updated": "2026-05-04T10:30:00.000Z" } }

Worklog events

{ "issue": { ... }, "worklog": { "id": "5", "author": { ... }, "timeSpent": "30m", "timeSpentSeconds": 1800, "started": "2026-05-04T10:00:00.000Z", "comment": { "type": "doc", "content": [...] } } }

Attachment events

{ "issue": { ... }, "attachment": { "id": "12345", "filename": "screenshot.png", "author": { ... }, "created": "2026-05-04T10:30:00.000Z", "size": 45678, "mimeType": "image/png", "content": "https://acme.atlassian.net/secure/attachment/12345/screenshot.png" } }

Issue link events

{ "issue": { ... }, "issueLink": { "id": "10001", "type": { "id": "1000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "10042", "key": "ABC-42" }, "outwardIssue": { "id": "10043", "key": "ABC-43" } } }

Project events

{ "event": "avi:jira:created:project", "timestamp": "...", "author": "...", "baseUrl": "...", "project": { "id": "10001", "key": "ACME", "name": "Analytics Backend", "projectTypeKey": "software", "lead": { ... }, "url": "..." } }

Version events

{ "version": { "id": "10000", "name": "2.5.0", "projectId": "10001", "released": true, "releaseDate": "2026-05-12", "archived": false } }

Component events

{ "component": { "id": "10100", "name": "Auth", "projectId": "10001", "lead": { ... } } }

User events

{ "event": "avi:jira:created:user", "user": { "accountId": "5b10ac8d82e05b22cc7d4ef5", "displayName": "John Doe", "emailAddress": "john@example.com", "active": true } }

Configuration events

Filter / issue-type / custom field / field context / workflow lifecycle events have their own block (filter, issueType, field, fieldContext, workflow) carrying that entity's REST representation. Useful primarily for compliance trails and external schema mirrors.


Scheduled deliveries

Scheduled webhooks ship the whole list of JQL-matching issues in one delivery:

{ "event": "schedule", "timestamp": "2026-05-04T09:00:00.000Z", "baseUrl": "...", "issues": [ { "id": "...", "key": "ABC-42", "fields": { ... } }, { "id": "...", "key": "ABC-43", "fields": { ... } }, ... ] }

JQL pagination is handled server-side (50 per page), then joined into one outbound delivery. If JQL returns 0 issues, the delivery is skipped unless Send request even if JQL returns no issues is on — see Scheduled webhooks.


Workflow post-function deliveries

Same as the Issue payload, plus an entity block describing the transition that ran:

{ "event": "avi:jira:transitioned:workflow", "issue": { ... }, "entity": { "transition": { "id": "21", "name": "Resolve Issue", "from": { "id": "10000", "name": "In Progress" }, "to": { "id": "10001", "name": "Done" } }, "workflow": { "id": "...", "name": "Defect Workflow" }, "changelog": { "items": [ { "field": "status", ... } ] }, "comment": { "id": "...", "author": {...}, "body": {...} } } }

For the full entity.* reference, see Template variables and {{ … }} reference → Workflow post function — entity.* bindings.


When the renderer falls back to Default

The consumer silently uses Default (and writes a [WARNING] into the delivery log's error column) when:

  • The chosen template is marked Disabled (isActive = false).

  • A Fields template is attached to a non-issue event.

  • A Fields template has no rows (shouldn't happen after save validation, but guarded at render time).

  • A Custom JSON template render fails — body doesn't parse after substitution, or an unknown formatter (:foo).

The delivery still goes out with a valid Default body, and the warning makes the issue visible to the admin.


Empty Body

The other system template:

{}

Useful when:

  • The receiver only needs the fact that something happened, and will fetch its own data afterward.

  • You want minimal payload size (rate-limited receivers, mobile push gateways).

  • You want to test the delivery path without exposing any Jira data.

Empty Body is selected on the webhook form's Payload Template dropdown like any other template. It cannot be edited.


Related