I am trying to create a simple automation to send an email when a new work item is created.
That said, I am trying to add details from a FORM that is part of the request type within the body email.
I am trying smart value such as
REPORT TYPE: {{forms.last.ReportType.label}}
but its not working. Is this something that can be done?
thanks!
Hi Jenz, welcome to the Atlassian Community!
For you to access form values (set by the field key), you need to use this syntax:
{{forms.<FORM_ID>.last.<FIELD_KEY>}}
To get the form id, in the forms list, click in the three dots and then "Copy Form ID"
Hi Deivid,
Thank you so much! That worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad I could help :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm trying to do the exact same thing as Jenz did but when I try the syntax, the email isn't populated with the data that was submitted with the form. I'm at a loss as to what I need to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Anthony. Welcome to the Atlassian Community!
The <FIELD_KEY> placeholder that I showed above depends on the field type. What is the field type you are trying to set? Also, this documentation can help with the different formats: https://support.atlassian.com/jira-service-management-cloud/docs/access-smart-values-for-forms-and-form-fields/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.