Jira Cloud v3 ADF & Dynamic Variables ({{var:...}}) Architecture Guide

Updated November 2026 · 6 min read · Audience: Jira Administrators, QA Leads & Release Engineers

Goodbye Broken Wiki Markup: Older Jira template tools still inject legacy Jira Server Wiki syntax (h2., {code}, *bold*) that renders as raw unformatted characters in Jira Cloud REST v3. Neatpane TemplateGuard compiles clean Markdown-lite + dynamic variables directly into validated Atlassian Document Format (ADF v3) nodes.

1. Native Jira Cloud v3 ADF Compilation

Jira Cloud's v3 Issue and Service Desk Comment endpoints require structured JSON trees conforming to the Atlassian Document Format specification (version: 1, type: "doc"). Neatpane's compiler translates headings, bold/italic/inline code marks, fenced code blocks, bulleted/numbered lists, blockquotes, and validated https:// links into strict ADF nodes — and safely merges appended or prepended template content into existing issue descriptions without clobbering prior work.

2. Automatic Live Context Variable Catalog

Context variables resolve automatically at runtime from the active issue and authenticated user (api.asUser()):

3. Interactive Prompt Variables with Default Fallbacks

Any token prefixed with var: automatically generates a typed input field inside the Issue Panel before execution. Add an optional pipe (|) to pre-populate a default value:

QA Bug Report Template with Context & {{var:...}} Defaults
## Bug Reproduction — {{project.key}}
- **Reported By:** {{currentUser.displayName}} on {{now.date}}
- **Environment / Build:** {{var:Environment|Staging}} (`{{var:Release Tag|v2.4.0}}`)
- **Steps to Reproduce:** {{var:Reproduction Steps}}
- **Expected vs Actual:** {{var:Expected vs Actual Behavior}}

4. Resulting Jira REST v3 ADF Payload

Once all variables are resolved, Neatpane emits a strictly valid ADF document ready for PUT /rest/api/3/issue/{issueIdOrKey} or JSM comment creation:

Compiled Jira Cloud v3 ADF JSON Output
{
  "version": 1,
  "type": "doc",
  "content": [
    {
      "type": "heading",
      "attrs": { "level": 2 },
      "content": [{ "type": "text", "text": "Bug Reproduction — ENG" }]
    },
    {
      "type": "bulletList",
      "content": [
        {
          "type": "listItem",
          "content": [
            {
              "type": "paragraph",
              "content": [
                { "type": "text", "text": "Environment / Build: ", "marks": [{ "type": "strong" }] },
                { "type": "text", "text": "Staging (" },
                { "type": "text", "text": "v2.4.0", "marks": [{ "type": "code" }] },
                { "type": "text", "text": ")" }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Test live variable interpolation right in your browser.
Type into custom {{var:...}} fields in our interactive simulator and watch Jira v3 ADF resolve instantaneously.

Try Live Variable Simulator Full Variable Cookbook