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

I want to add the name of an Assets object to the summary of a ticket.

Louie Goode April 16, 2024

I have a scheme called "Store Locations" and objects underneath them named by store number. See screenshot.  How do I display the object name in the summary of the ticket? Is there a smart value for the object name?

 

store loctions.png

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 16, 2024

Yes, there are smart values for Asset objects and in this case {{object.Name}} will give you the store number. Just note that this only works if you do an asset lookup, if the object is already on the issue then use the field smart value to get the name.

Louie Goode April 16, 2024

Thank you Mikael, 

I was not using it with lookup I will try that. 

Like Mikael Sandberg likes this
Louie Goode April 16, 2024

I don't think I am doing this right.  See the images below that do not result in anything printed to the screen.  The first is looking up the object name and the second is applying to the summary field. Lookup.pnglabel.png

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 16, 2024

The {{lookupObjects}} would return everything from your lookup, you still have to use the dot notion to get to the name. The first thing I would do is add a log action that you set to {{lookupObjects}}, that way you can see if the lookup is returning the object and go from there.

Louie Goode April 17, 2024

Seems I am close with using Key = {{issue.customfield_13519}} in the lookup. However, I need the custom field name but and not the key. 

Louie Goode April 17, 2024

This is now resolved! Thanks for the logging tip! I just kept plugging away until I found it.  In the lookup I used Key = {{issue.customfield_13519}} and in the summary I used {{lookupObjects.name}} where .name is the attribute I wanted. 

Like Mikael Sandberg likes this

Suggest an answer

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

Atlassian Community Events