Forums

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

How can I get an Asset name in an automation?

Santino Lucca Castrataro
Contributor
May 23, 2024

Hi! I need to get the name of the Asset asociated with an issue (it´s only 1 asset per issue), to save it in a smart value and use it as a filtre in an IF.

Does someone know how can I get the name of the asset?

Thanks!

1 answer

1 vote
Mikael Sandberg
Community Champion
May 23, 2024

{{issue.<assets field name>.Name}} should do it. The asset selected is your object and then you just use the . function to get to the attribute.

Mikael Sandberg
Community Champion
May 23, 2024

If that is not working then use the lookup object component and then use that to get the name like this:

{{lookupObject.Name}}

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