Hi,
I have been working on the automation rules about assigning people about an issue.
I have created a custom field called 'Assignees' which allows me to add people in this field.
Expected automation rule: when I add people to this field (i.e. assign people), they will get email notification.
I used smart value of {{Assignees.emailAddress}} but error occurs that 'To' field is missing email address.
I am not sure which part is wrong, could anyone help? Many thanks!!
Hello Wong,
I assume the "Assignees" is a multi user picker field. If that's the case, then try using the below smart value in "To" field :
{{#issue.My User Field}}{{emailAddress}}, {{/}}
--Sanjana
Thanks Sanjana,
I encounter another issue that the email Address field is within an object in an array.
e.g. "Assignees": [{emailAddress: "sam@abc.com"}, "displayName": "Sam"]
I can get displayName but not sure how to get email address.
I tried Assignees.first.emailAddress
or Assignees.get(0).emailAddress
But neither works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.