Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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_ReleaseTEAM_

Rik Maas November 7, 2023

Hey @Robert Wen_ReleaseTEAM_ 

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_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.
November 7, 2023

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

Rik Maas November 14, 2023

Hey @Robert Wen_ReleaseTEAM_ 
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_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.
November 14, 2023

@Rik Maas :

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}}
Rik Maas November 16, 2023

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

Knipsel.PNG

Robert Wen_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.
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.

Rik Maas 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 @Rik Maas 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