I want to send out an email to a dynamic list of recipients, started via a manual triggered automation. The recipients depend on the value of {{issue.affectedServices.name}} which holds the Service name.
I have a lookup table called emailMapping with some email addresses, like this:
Service One : email@domain,email@domain
Service Two : email@domain,email@domain
When I reference to the service as key of the lookup table, it comes up empty. So {{emailMapping.get( issue.affectedServices.name) }} returns nothing. I also tried adding accolades around the second variable but that didnt help.
just calling issue.affectedServices.name also gives the expected value (e.g. Service One)
If I use {{emailMapping.get( Service One) }} it works and the value is returned.
What am I missing here?
Thanks in advance.