We’re renaming ‘products’ to ‘apps’

Atlassian 'products’ are now ‘apps’. You may see both terms used across our documentation as we roll out this terminology change. Here’s why we’re making this change

Smart values for authentication policies

Use the smart values to save effort by instantly inserting data, such as user identity, group membership, and other information, into your automation rules. For example, you can use the {{event.user.externalDirectoryIds} smart value to get a list of identity provider directories of which the user is a member.

The smart values are grouped by object and sorted by the properties available for that object. Each smart value uses a syntax called dot notation inside double mustache brackets. It follows a hierarchy, starting with top-level object and its properties, like {{event.object.property.subProperty}}. Multiword properties use camelCase capitalization.

For example, smart value {{event.groupChangeDetails.groupId}} uses dot notation inside double mustache brackets to access the unique ID of the group involved in a group change event.

  • event is the top-level object representing the automation event.

  • groupChangeDetails is a property containing details about the group change.

  • groupId is the sub-property that holds the unique identifier of the group.

How to use smart values

When building a rule with a component that accepts smart values, you can enter the smart value manually or select it from the smart values panel in the rule builder. Available smart values for authentication policies

To use smart values:

  1. In the rule builder, click the {} icon in the text field.

  2. In the Smart values panel, find the smart value you want from the available list.

  3. Select the copy icon to copy the smart value to your clipboard.

  4. Go back to the input text field and paste the value from your clipboard.

 

Still need help?

The Atlassian Community is here for you.