The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Matteo Vecchiato
Community Champion
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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events