Going Stellar

Home/Smart values reference

Jira Automation smart value

User smart values in Jira Automation: examples

A user smart value stands for a person: the assignee, the reporter, the creator, the person who started the rule, or a user picker field. Add a property such as displayName, emailAddress or accountId to read it.

Syntax

{{assignee.displayName}}
{{reporter.emailAddress}}
{{creator.accountId}}
{{initiator.displayName}}
[~accountId:{{assignee.accountId}}]

Arguments

ArgumentWhat it isRequired
propertyaccountId, active, avatarUrls, displayName, emailAddress or timeZoneyes

Works on

  • Fields: assignee, reporter, creator, initiator, comment.author and user picker fields
  • Returns: text, or an object for avatarUrls and properties

Examples

{{assignee.displayName}}

Name the assignee in a message. The value is the profile name of the user.

Result:

<display name>

Run on Jira Cloud on .

{{reporter.emailAddress}}

Send an e-mail to the reporter. It renders only when the profile shows the address to you.

Result:

<email>

Run on Jira Cloud on .

{{assignee.accountId}}

The stable ID you need for an assignee edit or a REST call.

Result:

<accountId>

Run on Jira Cloud on .

Hi [~accountId:{{reporter.accountId}}], please review {{issue.key}}.

Mention the reporter in a comment so that Jira notifies them.

Result:

Hi [~accountId:<accountId>], please review WEB-48.

Run on Jira Cloud on .

{{assignee.timeZone}}

Read the time zone of a user to convert a date for them.

Result:

Europe/Bucharest

Run on Jira Cloud on .

{{initiator.locale}}

The locale of the person who started the rule, useful for date formats.

Result:

en_US

Run on Jira Cloud on .

Pitfalls

  • {{initiator.timeZone}} rendered empty while {{assignee.timeZone}} gave a zone (checked on Jira Cloud, November 2026). Pass {{assignee.timeZone}} or {{reporter.timeZone}} to a time zone function instead.
  • Profile privacy applies. If a user hides the e-mail address from you, {{reporter.emailAddress}} renders empty, with no error.
  • A mention is written with the account ID, not the name: [~accountId:{{assignee.accountId}}].
  • {{assignee.username}} rendered empty; {{assignee.accountId}} is the identifier to use.

Questions and answers

How do I read the user in a comment trigger?

Use {{comment.author.displayName}}. With a manual trigger on a work item with two comments it rendered the names of both authors joined by a comma, so use it with a comment trigger.

Sources

  1. Jira smart values: users (Atlassian Support)

Markdown version · All smart values