I am using Advanced field editing using JSON with the following JSON file:
{
"fields": {
{{if(equals({{userInputs.team}}, "TEST"))}}"customfield_10014" : "DOPI-284"{{/}}
}
}
I have defined a smart value {{userInputs.team}} and I want to assign the custom field (epic link): "customfield_10014" to a given epic key only if the smart value is equal to "TEST". I am getting the following error:

I tried several options, but I am getting the same error message, it seems Advanced field editing using JSON doesn't allow Jira smart value - conditional logic. It accepts smart values, but such conditional functions related to the smart values.
Is correct my assessment or am I doing something wrong? Is there any feature request to allow it?
The workaround would be to implement such if condition as part of the automation rule workflow, but it results in a verbose rule.
Thanks,
David