I have a custom field named Change Risk with values of High, Medium, Low. I want to conditionally change the background-color based on the Change Risk value. In the table, I added the following code:
style="{{ if(equals(issue.Change Risk, "High")) }}background-color: LightCoral; color: black;{{/}}"
I get an error in the automation. Error rendering smart-values when executing this rule: Mismatched start/end tags:
I tried may different combinations and still get the same error. I even tried the example code on the cloud automation website (https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/) for equals syntaxs and still got the same error.
Code used:
{{if(equals(issue.assignee, issue.reporter))}}
Assign this issue to someone else so they can review.
{{/}}
Any help would be appreciated.
Von