Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Asset Attribute using smart values

Junka July 21, 2025

Hi All

I am using JSM Data Centre
I dont have script-runner

 

I have a custom field for assets customfield_100
which contains an asset with text attributes 
Key
Name
Serial

I can create an issue and retreive the Key using
{{issue.customfield_100.Key}}

This works fine

However I cannot get the Name, or Serial Number values





On a slight side note, I understand (probably incorrectly) that 
you can do a lookupassets query, but I cannot get this to work

{{LookupAssets(Key={{issue.customfield_100.Key}}).Name}}

This looks logical to me but doesnt work, and Im not  sure if it would even help with the above


Thank you very much with the above

Junka

 

 

 

 

 

 

2 answers

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2025

Hi @Junka 

For name, you can use;

{{issue.customfield_100.Name}}

For Serial Number

{{issue.customfield_100.Serial}}

0 votes
Pedro Olmo
Contributor
July 21, 2025

Hello @Junka ,

 

When you have the object's ID using the custom field, you can use automations to perform a Lookup Objects and search for that specific object. Once you have the object in the automation, you can retrieve any attribute using {{lookupObjects.attribute}}.

 

Regards

 

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