Jira smart values - issues

To test what your smart value returns, use the manual trigger with log action and the result displays in the audit log.


The active issue. Through the dot notation you can access fields like issue type, status and custom fields (details on how you can use these to interact with Jira's api are here)

{{issue.created.format("dd/MM/yyyy")}} - this is the date the issue was created
displayed in the format 21/03/2019
{{issue.description}} - the content in the description field
{{issue.project}} - the project this issue is a part of.
{{issue.duedate}} - this is the due date for scheduled issue
{{issue.issuetype.name}} - the name of the type of issue
{{issue.key}} - the issue's unique identifier, comprised the project key and the
issue's number
{{issue.status.name}} - the name of the status the issue is at in its workflow.
{{issue.toUrl}} - use this to display a url
{{issue.CustomField.property}} - some of these are:
  * {{issue.CustomField.id}} - the unique id for the field assigned by Jira. It is
    better to use this than name as it cannot be changed.
  * {{issue.CustomField.name}} - the visible label displayed on the left of the
  * {{issue.CustomField.description}} - the text displayed below the custom field
    viewed in the Simple Search column.
  * {{issue.CustomField.defaultValue}} - the value displayed on first view of the


A list of issues generated by a trigger that runs a JQL search (Incoming Webhook trigger or Scheduled trigger when set to process in bulk). All of the issues found by the trigger are then treated as a single bundle of issues. You could then use this to count the number of issues returned. For example, you might count how many issues have a priority of 'highest' and then send an alert. Or you could count how many issues have the same label, same fixVersion, etc. You can also use this with lists. For more information on when issues is available, see Run a rule against issues in bulk.

{{#issues}}{{key}}{{/}} - the key for each issue
{{issues.size}} - count of the issues


Multiple comments on the active issue (this example is explained in detail in how to use smart values)

Comment by: {{author}} at: {{created}}

{{issue.comments.first.body}} - the body of the first of many comments
{{issue.comments.size}} - count of comments for the issue

{{#issue.comments}}{{#first}}First:{{author.key}}{{/}}{{body}}{{/}} - prints all of the comments and only prints the first author's key


Components of an issue as a list. See accesing multi-value fields



Added by: This is added any time an issue is added

If this issue is in an Epic, then epic refers to the Epic issue. You can access all fields of the Epic.

{{issue.epic.My Custom Field}}


Fix versions of an issue as a list. See accesing multi-value fields.
Properties for versions include: name, description, archived, released, releaseDate



This re-fetches the latest state of the issue from Jira.

tip/resting Created with Sketch.


This should not be used since it requires an expensive reload of issue data. The only situation where this is necessary, is where subsequent actions need to have visibility of the latest state of the issue (e.g. 2 edit issue actions that need to 'add' to the value of a field instead of overwriting it).


If this issue is a sub-task, then parent refers to the parent issue. You can access all fields of the parent.

{{issue.parent.Epic Link}}


Here you can access any issue property. Properties are frequently used by add-ons and integrations to store values.



This smart-value allows you to access project specific attributes:


issue.Request Type

Jira Service Management specific request type object that you can grab information from.

{{issue.Request Type}}
{{issue.Request Type.requestType.name}} - Customer request type
{{issue.Request Type.currentStatus.status}} - Current  status
{{issue.Customer Request Type}} - Customer request type for older Jira instances

The "Request Type" prefix may be
"Customer Request Type" in older instances of Jira. You can check this by navigating to the "Custom fields" page in the
global admin section. There should be a locked field named either "Request Type" or "Customer Request Type" there.


The text of the security level.



The URL to access the issue. Also provides the customer portal URL for Jira Service Management issues.



Affects version of an issue as a list. See accesing multi-value fields.
Properties for versions include: name, description, archived, released, releaseDate



You can access the current watchers of an issue.



Returns a list of issues from a JQL search used by the Lookup issues action. Learn more about the Lookup issues action

The properties available for the {{lookupIssues}} smart value are listed in the following section.

The smart value {{lookupIssues.<property_name>}} will contain the property of each issue from the JQL search, in a list format. 

You can iterate through the list of issues from the JQL search by using the syntax {{#lookupIssues}} {{/}}.

Learn more about using smart values with issue lists

Available properties

Expand to view the list of properties
  • {{key}} - Returns the issue key
  • {{description}} - Returns the issue description
  • {{url}} - Returns the issue URL
  • {{summary}} - Returns the issue summary
  • {{assignee.displayName}} -  Returns the assignee
  • {{reporter.displayName}} -  Returns the reporter
  • {{status.name}} - Returns the status
  • {{issuetype.name}} - Returns the issue type
  • {{resolution.name}} - Returns the resolution
  • {{fixVersions.name}} - Returns the fix version
  • {{created}} - Returns the date the issue was created
  • {{updated}} - Returns the date the issue was updated
  • {{project.name}} - Returns the name of the project the issue belongs to
  • {{Story Points}}
    • Returns the story points for the issue
    • Since this field is a numerical value, numerical operations such as min, max, average, sum can be executed on the smart value {{lookupIssues.Story Points}}

Examples of using the lookupIssues value

Create a list of the keys of all the issues from the JQL search:

These are the issue keys found by the JQL search {{lookupIssues.key}}.

Iterate through each issue using a loop and print the keys in bullet point form:

These are the issue keys found by the JQL search:
* {{key}}

Sum all of the story points for issues returned from the JQL search:

There are {{lookupIssues.Story Points.sum}} story points remaining.

Retrieve the highest story point value for issues returned from the JQL search:

The highest story point value is {{lookupIssues.Story Points.max}}.


Added by: The Related Issues Action.

Refers to the original issue when you branch the chain.


... all fields available to {{issue}} are available here as well.


  • filename {{attachment.filetype}}: the filename of the attachment
  • mimeType {{attachment.mimeType}}: the file format of the attachment
  • author {{attachment.author}}: the user who added the attachment
    • accountId {{attachment.author.accountId}}: the ID associated with the user name
    • emailAddress {{attachment.author.emailAddress}}: the email address associated with the user name
    • displayName {{attachment.author.displayName}}: the name displayed in your Jira instance
    • active {{attachment.author.active}}: Is the user an active user or has their account been deactivated
    • timeZone {{attachment.author.timeZone}}: what timezone the user is registered being in (this does not change dynamically based upon where the user logs in from, it is the timeZone registered in their user account)
  • created {{attachment.created}}: the date and time the attachment was added to the issue
  • size {{attachment.size}}: the attachment file size in bytes


Prints the url of the Jira instance


Added by: Jira Triggers that edit an issue

All the fields that were changed. Each field is a list of changes. You can access useful things like the previous status during a transition

  • this is only available for some triggers.

// Previous status name
// Previous status id (for using in another Edit action


Added by: Jira Triggers that contain a comment. E.g. Issue commented

{{comment.visibility.type}} - comment restriction type, if any e.g. role
{{comment.visibility.value}} - comment restriction label, if any  e.g. Developers 
{{comment.internal}} - for Jira Service Management comments, returns false if the comment is visible to customers.
{{comment.properties}} - Way to access any comment property. Properties are frequently used by add-ons and integrations to store values.


The previous issue created in this rule

{{createdIssue.some field}}


Added by: Clone Issue Action, Create Issue Action, Create Sub-tasks Action

A list of issues that have been created in the rule



The type of event that triggered the rule such as: jira:issue_updated :issue_commented



The changed field value is available anywhere smart values are supported using the {{fieldChange}} substitution. Use {{fieldChange.fromString}} and {{fieldChange.toString}} to access display values and {{fieldChange.from}} and {{fieldChange.to}} to access raw values (for a select field for example).

{{fieldChange}} only contains the first changed value. If multiple values are changed (e.g. when setting multiple Fix Versions) then you can iterate over these using the {{#changelog.fix Version}}{{toString}}{{/changelog.fix Version}} expression.

Jira Service Management’s customer satisfaction


Returns the value of the Jira Service Management’s rate custom field.



Returns the value of the Jira Service Management’s scale custom field.



{{rule.name}} - Prints out the name of the running rule
{{rule.actor}} - Accesses the rule actor user.


Added by: Sprint created, started or completed triggers



A representation of a release/version in Jira.



Added by: Webhook Trigger
This allows access to data that was sent along with the incoming webhook
The body of the Webhook request



Added by: Send web request with "Wait for response" checked
On successful request, you will be able access webhook response data using the following smart values:

{{webhookResponse.status}} - response code e.g. 200
{{webhookResponse.headers}} - headers that can be accessed with dot nation
{{webhookResponse.body}} - body that can be accessed with dot nation
{{webhookResponses}} - list of responses made when list operations

Multiple responses can be access via the following fields:

    Data from response: {{someValue.childValue}}


Added by: Worklogged Trigger
The worklog entry that has just been logged against an issue.

// Cloud only
// Visibility is available when the worklog is restricted

Insight fields

tip/resting Created with Sketch.


We do not currently support accessing fields within insight objects

You can access an insight field's full name, key, or summary through the following smart values:

{{issue.InsightField}}          // returns Some Client Name (ABC-123)
{{issue.InsightField.key}}      // returns ABC-123
{{issue.InsightField.summary}}  // returns Some Client Name

Tempo Account field

You can access a Tempo Account field's properties through the following smart values:

{{issue.TempoAccountField}}       // Provides the name of the account
{{issue.TempoAccountField.id}}    // Provides the ID of the account
{{issue.TempoAccountField.name}}  // Provides the name of the account
{{issue.TempoAccountField.key}}   // Provides the key of the account
Last modified on Nov 30, 2023

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.