form smart value conditions compare in if statement

Evert Morren Atlas Admin
Contributor
March 14, 2025

I am looking for an automation rule to compare a form smart value. If the condition is true an action must be started. I have made the rule below, but it doesn't work.

 

The form field is a single dropdown list. Whatsapp is one of the items in the list. Schermafbeelding 2025-03-14 120537.jpgwith an if statement. If

2 answers

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 14, 2025

Hi Evert,

You need to give the form field a Field key. Click on the field in the form while in Edit mode. The Field key field will be the last field on the right side. I suggest keeping this value short. Let's say you call it: fcm-feedback

Save the changes to the form, then refresh your Automation Rules page. 

Then you update your smart value to be:

{{issue.forms.last.fcm-feedback.label}}

Call the Field key whatever you want, just make sure they match up. That should do the trick for you. 

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 14, 2025

Hi @Evert Morren Atlas Admin 

The smart value to use information from a form, when the the form submitted trigger is not used.

Example if the smart value

{{issue.forms.<uuid>>.last.FCM-Feedback reçu par}}

equals whatsapp.

The uuid of the field in the form can be found using the forms rest API (https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue/#api-issue-issueidorkey-form-formid-get )

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events