Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Does the variable ${recipient.name} shows all recipents of the message or just one?

Nahuel Logghe
Contributor
February 27, 2024

Hello everyone,

I'm in the process of setting up a notification email for a project. For the message's recipients, I'm targeting "customers involved," which includes both the reporter and any request participants.

I'd like to include a mention of the recipient's names (including all the customers involved) within the notification's content. Will ${recipient.name} do the trick? If not, is there any other way?

1 answer

1 accepted

1 vote
Answer accepted
Kris Dewachter
Community Champion
February 27, 2024

Hi @Nahuel Logghe ,

 

${recipient.name} will just return 1 name (of the person to who the message is directed).

I don't think there is a smart value to list all the recipients. 

In the portal, the people involved are mostly the reporter and the request participants. You could use this smart value to retrieve those :

{{issue.Request Participants.displayName}}

Hope this helps.

Best regards,

Kris

 

Nahuel Logghe
Contributor
February 28, 2024

Hi Kris,

Thanks for your reply.

I tried that, but the customer notifications don't allow smart values.

You can insert variables from a dropdown but I don't have any for what I want.

If I use a smart value it only shows it as plain text:

2024-02-28_11-45-31.png2024-02-28_11-47-32.png

Unless I'm doing something wrong? Is there any other way to insert the smart value?

Kris Dewachter
Community Champion
February 28, 2024

Hi @Nahuel Logghe ,

You are right, the customer notifications can not handle smart values.

As a workaround, you could disable the specific customer notification, and create an automation rule that will handle sending the email.

The action in the automation rule would look something like this:

Screenshot 2024-02-28 at 21.32.40.png

Best regards,

Kris

 

Nahuel Logghe
Contributor
February 29, 2024

Hi Kris,

Thank you for the help. Yes, I think this is the only solution.

Like Kris Dewachter likes this

Suggest an answer

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

Atlassian Community Events