Hi everyone,
I'm trying to create an automation rule in Jira Service Management that is triggered manually. This automation rule should access a Lookup Table where each country is associated with an organization. Then, for each country listed in the "Countries" field of the issue, I want to add the corresponding organization.
In the For Each branch, I've used the Smart Value {{issue.fields["Countries"].value}}
,
and then I've used an Edit Issue action with the following JSON payload:
{ "update": { "organizations": [ { "add": "{{countries.get(issue.fields['Countries'].value)}}" } ] } }
However, it doesn't seem to be working as expected. I'd appreciate any assistance or guidance on where I might be going wrong with my setup.
Thanks in advance for your help!