Skip to main content

Dynamic variables in form fields

Updated today

Inject context, reporter info, and metadata directly into issue descriptions and text fields. No manual copy-paste. No "which browser was this again?" back-and-forth.

πŸ’‘ Available on Team plan and above

Syntax

Wrap any variable in double curly braces: {{namespace.path}}

Example:

β†’ Input: [{{project.key}}] Bug on {{context.webPage.domain}} - {{context.browser.name}}

β†’ Result: [ACME] Bug on careers.acme.com - Chrome

Use cases

Auto-routing by reporter:

Include {{reporter.email}} in descriptions. Your Jira automation routes issues to the right team member.

Support context with custom data:

User ID: {{customData.userId}} 
Plan: {{customData.account.plan}}
Company: {{customData.company.name}}

Support sees account context instantly. No lookup needed.

Timestamp for SLA tracking:

Reported at: {{date.iso}}

Machine-readable timestamp for automation rules and SLA calculations.

Audit trail for compliance:

Reported: {{date.iso}} by {{[reporter.name](<http://reporter.name>)}} ({{[reporter.email](<http://reporter.email>)}})

Environment info in custom fields:

Use {{environment.multiline}} or {{environment.oneline}} in a dedicated "Environment" text field. Keeps descriptions clean while capturing full technical context.

Teams report fewer clarification messages per bug. The context travels with the issue.

Available variables

Reporter information

Variable

Description

Example output

{{reporter.name}}

Reporter's full name

Sarah Chen

{{reporter.email}}

Reporter's email

{{reporter.displayName}}

Name and email combined

Sarah Chen (sarah.chen@acme.com)

Issue metadata

Variable

Description

Example output

{{issue.markerId}}

Unique Marker.io issue ID

MRK-a1b2c3d4

{{project.name}}

Project name in Marker.io

ACME Careers Site

{{project.key}}

Project key

ACME

{{issueType.name}}

Selected issue type

Bug

Date and time

Variable

Description

Example output

{{date.now}}

Current date and time

Dec 18, 2024, 3:45 PM

{{date.today}}

Current date only

Dec 18, 2024

{{date.iso}}

ISO 8601 format (for integrations)

2024-12-18T15:45:30.000Z

{{date.timestamp}}

Unix timestamp

1734536730

Browser and device context

Variable

Description

Example output

{{context.browser.name}}

Browser name

Chrome

{{context.browser.version}}

Browser version

120.0.6099.109

{{context.browser.userAgent}}

Full user agent string

Mozilla/5.0...

{{context.operatingSystem.family}}

OS name

macOS

{{context.operatingSystem.version}}

OS version

14.2.1

{{context.deviceType}}

Device category

desktop

{{context.mobileDevice.model}}

Mobile device model

iPhone 15 Pro

{{context.mobileDevice.manufacturer}}

Device manufacturer

Apple

Page information

Variable

Description

Example output

{{context.webPage.url}}

Full page URL

{{context.webPage.title}}

Page title

Senior Developer - ACME Careers

{{context.webPage.domain}}

Domain only (extracted from URL)

Viewport and screen

Variable

Description

Example output

{{context.viewport.width}}

Viewport width in pixels

1440

{{context.viewport.height}}

Viewport height in pixels

900

{{context.screenSize.width}}

Screen width

2560

{{context.screenSize.height}}

Screen height

1440

{{context.screenSize.pixelRatio}}

Device pixel ratio

2

{{context.zoom.zoomFactor}}

Browser zoom level

1.25

Integrations

Variable

Description

{{context.fullStory.sessionUrl}}

FullStory session link

{{context.fullStory.sessionUrlAtCurrentTime}}

FullStory link at exact moment

{{context.logRocket.sessionUrl}}

LogRocket session link

Custom data (requires plan feature)

Variable

Description

{{customData.userId}}

Any custom property you pass

{{customData.account.plan}}

Nested paths supported

{{customData.permissions}}

Arrays and objects JSON-stringify automatically

Environment summary

Get all environment data in a single variable, formatted for different use cases.

Variable

Description

Example output

{{environment.multiline}}

Multi-line format (one item per line)

Device type: desktop
Browser: Chrome 120.0.0

Viewport: 1920 x 1080

OS: macOS 14.2

{{environment.oneline}}

Single-line comma-separated

Device type: desktop, Browser: Chrome 120.0.0, Viewport: 1920 x 1080, OS: macOS 14.2

{{environment.json}}

JSON object (for integrations)

{"Device type":"desktop","Browser":"Chrome 120.0.0",...}

Supported field types

Variables work in text-based fields only:

  • Description fields

  • Single-line text fields

  • Multi-line text fields

Edge cases

Missing data: If a variable can't be resolved, the placeholder stays intact. {{reporter.email}} with no reporter becomes literally {{reporter.email}}. Your team sees exactly what's missing.

Invalid paths: Unknown variables like {{context.fake.path}} are preserved unchanged. No silent failures.

Custom data without feature: {{customData.*}} variables only resolve if your plan includes custom data. Otherwise, placeholders remain visible.

More

Are you missing variables or having questions? Contact us via the chat

Did this answer your question?