Forums

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

Automation to edit Asset field with values from object attribute that holds multiple objects

Michael Frade
Contributor
August 21, 2025

Trying to build an automation that is editing a work item field with the value from an Asset object attribute. This attribute is a reference to another object and can hold multiple objects. If it the object holds multiple object references, I want all objects passed into the Asset field.  Right now it is only passing the first value.  The asset field is set to allow multiple objects. I can manually add both Keys without issue.

When I log the smart value it returns as [Key-1, Key-2]. Key-1 is showing in the Asset field but not Key-2.

The AQL in the edit work item actions is - Key in {{Smart Value}}

Any recommendations on how to format the smart value or the AQL query to get the asset field to populate with all the objects in the referenced attribute?

1 answer

1 vote
Matteo Vecchiato
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.
August 22, 2025

Hi @Michael Frade ,

Thank you for your question. I had trouble with multiple asset fields in the past.

Please try to look to this article: https://community.atlassian.com/forums/Jira-Service-Management/How-to-use-automation-to-populate-Assets-custom-field-with/qaq-p/2544628 

Hope it helps.

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