Forums

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

How to get an attribute from assets field in automation

Faroek Sweet
Contributor
July 21, 2025

Hi everyone,

I’m building a Jira Cloud Automation rule and I’m stuck on reading the value of an Assets field in a smart value condition.

  • Field: “[JESS] – Assets Deelnemer Afdelingen Teams”

  • Type: Assets (configured as a dropdown sourcing options from our CMDB)

In the standard work item field I can make it work:

workitemconditionUitvoering.png

 

I’ve tried to use this smart value to add a comment:

{{#if(equals(issue.customfield_11455.name, "Uitvoering"))}}Nieuwe aanvraag {{/}}

This works fine for standard select or text fields, but in this case it always returns error:

Unable to add comment to work item

Has anyone solved this before? How can I correctly retrieve the selected CMDB object (or its attributes) from an Assets field in a Jira Automation rule?

Any suggestions would be appreciated!

1 answer

1 vote
Fabio Racobaldo _Catworkx_
Community Champion
July 21, 2025

Hi @Faroek Sweet ,

in order to retrieve a specific attribute of your asset field you should use the following approach :

{{FIELD_NAME.ATTRIBUTE_NAME}}

example :

{{[JESS] – Assets Deelnemer Afdelingen Teams.Name}}

or

{{customfield_ID.Name}}

let me know if it works,

Fabio

Faroek Sweet
Contributor
July 21, 2025

Hi Fabio,

Thanks for the reply. I've tried the following:

{{#if(equals([JESS] – Assets Deelnemer Afdelingen Teams.Name, "Uitvoering"))}}Nieuwe aanvraag {{/}}

And

{{#if(equals(issue.customfield_11455.Name, "Uitvoering"))}}Nieuwe aanvraag {{/}}

Unfortunately it didn't yield any result.

 

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