Dear community,
I can't find how to implement in Automation for Jira an advanced smart value similar to this in JavaScript
{1: 'aaa', 2: 'bbb'}[x]
i.e. it's a simple mapping.
I know I can use if/else, but it will duplicate actions in the rule.
Any thoughts?