Using an Asset Email Address for Custom Automation Email

Bryan Trummer - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 20, 2023

Hey all,

I am trying to send out a custom email via automation using the email address that is attached to an Asset.

For example the field is Request For - this is an Asset field that has a user in it, and has an email address attached to it.

The automation email should then use that Email address for the Asset selected in Request For as the To address.

I have tried a few items but nothing working unfortunately.

1 answer

1 accepted

6 votes
Answer accepted
Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 20, 2023

I think Smart Values are your friend.

If your User Asset has the Email address as an attribute, it might look something like this:

{{issue.Request For.Email}}

No need for quotes or parentheses (I think)

Bryan Trummer - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 21, 2023

This did the trick!  Thanks @Robert Wen_Cprime_

Deleted user November 7, 2023

Hey @Robert Wen_Cprime_ 

I am trying to realize the above as well but can't seem to manage. I have a form that contains the field 'Supervisor' referencing a user asset in our cmdb with an email as attribute. 

Using the smart value {{issue.Supervisor.Email}} doesn't get the email to it's destination. 

Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2023

Can I see what's defined for the custom field and the Asset and its attributes?

Deleted user November 14, 2023

Hey @Robert Wen_Cprime_ 
Certainly, apologies for the late reply, I've been a bit under the weather. 

This is the 'supervisor' field (Dutch=Leidinggevende). 

fiedl1.PNG

It refers to the object 'Wiltec users' in our CMDB. This object already had an 'E-Mail Address' text attribute but I figured the smartvalue might require and actual atribute with the type value email. Unfortunately no joy so far. 

field2.PNG

Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 14, 2023

@[deleted] :

This does look correct.  You are correct that you should be using an attribute of type Email. 

The smart value should look like 

{{issue.Leidinggevende.Email}}
Deleted user November 16, 2023

That's the one I've been using. Unfortunately the audit log reports: 

Knipsel.PNG

Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 16, 2023

Can you show your automation?  I'm also curious if you've set up a Log Action to see what you get from the smart value.

Deleted user December 11, 2023

This is what the automation looks like. A series of tasks and emails are created when a form is submitted. I am unfamiliar with setting up a log action specified for the smart value. automation.png

Dominic Peters April 17, 2024

hi @[deleted] did you solved this problem? I try something different but my error message looks like yours.

I try to store a list with distributors as assets and then sending mails to the stored addresses. But the message is always "No receipients" If i try to copy the value of the asset field into a text field it shows just the Object Key..

Kind Regards

Dominic

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events