Smart values for automation in Atlassian Administration
Who can do this? |
Use smart values to insert data like user identity and group membership into your automation rules. For example, use the {{issue.assignee.displayName}} smart value to trigger an action only when a specific user creates a work item.
Smart values are grouped by object and sorted by their available properties. Each smart value uses dot notation within double mustache brackets.
This notation follows a hierarchy, starting with a top-level object and its properties, for example, {{event.object.property.subProperty}}. Multi-word properties use camelCase.
For example, the smart value {{event.groupChangeDetails.groupId}} accesses the unique ID of the group involved in a group change event using dot notation inside double mustache brackets.
eventis the top-level object representing the automation event.groupChangeDetailscontains details about the group change.groupIdholds the unique identifier of the group.
How to use smart values
When a step supports smart values, you can either type the smart value or select it from the Smart values panel. You will only see values that are valid for the rule you’re editing, based on its trigger and steps (for example, it won’t show Jira smart values if your rule doesn’t use Jira). View examples of smart values for automation
To use smart values:
In the flow builder, select a step that supports smart values, then select the
{}icon. A side panel with smart values relevant to your flow will appear.Once you find a smart value you like, select the copy icon to copy the smart value to your clipboard
Go back to the input text field and paste the smart value where you want to use it.
Was this helpful?