Send notification to people of custom field about issue

Deleted user June 6, 2020

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!!

1 answer

0 votes
Sanjana _Alacriz_ June 6, 2020

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

Deleted user June 19, 2020

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events