I need to create an Automation that sends an email referencing an Assets objects custom field. I can find my field in the Smart Values library and add the Smart Value to the Automation but when the Automation runs it displays the object's key value in the email rather than the name of the object. Looking for a solution that picks up an Object's name rather then its key.
Hi @Richard Hayes,
Welcome to Atlassian Community!
What smart value are you using? Since you say that you get the key instead of the name I would assume that you are using something like this: {{issue.asset object}}. If so that is expected and you would have to use the dot notation to get the name, like this: {{issue.asset object.Name}}. You can read more about this in this KB.
I'm using {{issue.customfield_17913}} as my smart value with 17913 being the ID of the field I need to reference. How do I use {{issue.asset object.Name}} so that it picks up the object name from the correct field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just replace the asset object with your custom field like this: {{issue.customfield_17913.Name}}, this will get the name of the object instead of the key.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.