Automation: How to compare multiple smart value conditions

Amelia Vondrus
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2023

Hi Team, 

When a specific ticket / form is submitted I'm looking to check the form response for multiple answers so we may automatically assign the request to a particular team depending on the responses. I've been successful in using advanced compare conditions to match form response to a single selection but I'm running into an "Error rendering smart-values when executing this rule: Improperly closed variable" when checking against multiple selections. Any suggestions here? 

Successful

Successful.PNG

Unsuccessful

Unsuccessful.PNG

 

 

1 answer

1 accepted

0 votes
Answer accepted
Agraj Mangal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2023

Hi Amelia,

Going by your screenshots, the second screenshot where you compare with a regular expression - you do not enclose the smart value correctly within `{{ .... }}` and your smart value is missing a trailing `}` 

Once you add that it should not give you the error "Error rendering smart-values when executing this rule: Improperly closed variable" and should be able to calculate the smart value as it was able to do in the first screenshot.

Hope that helps,
Agraj

Amelia Vondrus
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 11, 2023

Hi Agraj,

Thank you, I realized my clerical error soon after posting. Additionally I used \b before and after each smart value to determine exact matches. The below was successful! Successful2.PNG

Like Agraj Mangal likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events