Hi everyone,
I need to send an email to an outside client and I can pull all the data I need from JSON customfield_101** etc from the ticket but I can't figure out how to get the name of an asset that I've assigned on the request type or on the form using the same method.
I presume I am supposed to use a lookup Object reference or Lookup objects method but the examples on the Atlassian website aren't helping.
From the ticket I can get the
{
"workspaceId": "**********************",
"id": "********** : **",
"objectId": "**"
}
and using the details I get from the above entries I can "Manually" resolve the correct information in the assets. Is it even possible? Please ask me for more information if needed.
Any help would be appreciated.
Tim
Hi Tim,
Welcome to the community !
Yes, you do need to Lookup the object from Assets.
Inside Automation, there is a Lookup Objects command, that will Lookup the object from your schema.
Once you have done that, all the attributes for the Object will be available via
{{lookupObjects.<Attribute name>}}
which you can place inside your send email request.
Let me know if I'm on the right track
Cheers
Mark
Mark SPOT ON!!!!
Thank you for your example!!!!! I can't thank you enough. Its been a thorn in my side for a couple of days now.
I was on the right track but just needed a GREAT example like yours.
Thanks again!!!!!!
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tim,
Your response has made my day.
Mark
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.