Get started with Jira Service Management for admins
Your first stop for learning how to get started with Jira Service Management.
Access smart values on submitted forms and form fields to not only retrieve and manipulate data in Jira Service Management, but also power automations and reporting.
Only smart values on forms that use the form submitted trigger can be accessed.
You can access submitted forms on issues by using {{forms}} and the automation lists smart values to format the value of forms in a list when setting up a rule.
Example
If the last form in a list of submitted forms on an issue is ‘Onboarding checklist'; {{forms.last}} will return ‘Onboarding checklist’
To access a specific smart value of a form field, you’ll need to know both the field type and the field key which acts as the unique identifier of a field in a form. You can customize a specific field's field key when configuring your fields in forms.
Field keys are case-sensitive so need to be entered correctly. This also includes any spaces.
The following field types use the automation text field smart values and format the value as a text string when setting up a rule.
Short text
Long text
Paragraph
URL
Example
If the value in a text field with the field key Summary is ‘Jane Doe’; {{forms.last.Summary}} will return ‘Jane Doe’
The following field types use the automation lists smart values and format the value of items in a list when setting up a rule. To retrieve the id of a selected choice use {{id}} and to retrieve the label of a selected choice use {{label}}.
Radio buttons
Checkboxes
Dropdown
Multiselect dropdown
Cascading dropdown
Assets
Example
If the selected value in a choice field with the field key Location is ‘Sydney’; {{forms.last.Location.label}} will return ‘Sydney’
The following field types use the automation date and time smart values and format as text values when setting up a rule.
Date
Date & Time
Time
Example
If the selected value in a date field with the field key Due date is ‘10/01/24’; {{forms.last.Due date.fullDate}} will return ‘Wednesday, October 1, 2024’
The following field types use the automation math expressions smart values and format as numerical values when setting up a rule.
Number
Example
If the value in a number field with the field key Invoice is ‘100’; {{forms.last.Invoice.asCurrency}} will return ‘$100’
The following field types use the automation users smart values and format as user data when setting up a rule.
Single user
Multiple users
Example
If the value in a user field with the field key Manager is ‘John Doe’; {{forms.last.Manager.displayName}} will return ‘John Doe’
The following field types use the automation lists smart values and format the value of items in a list when setting up a rule. To retrieve the id of an attachment use {{id}} and to retrieve name of an attachment use {{name}}.
Attachment
Example
If the value in an attachment field with the field key Upload resume is named ‘Jane Doe CV’; {{forms.last.Upload resume.name}} will return ‘Jane Doe CV’
Was this helpful?