Populating of asset attribute value into the custom field

Bondili_ Pushpitha Bai December 2, 2024

Hi Team,

I have created an asset custom field named "Affected Region". In this field i want to populate the values of an attribute called "Region" under the object type called "Location".

To satisfy this, i have added the below AQL in the field.

 

 

Filter issue scope (AQL): objectType = "Locations" AND Name IN Region

Allow search filtering by these attributes: Region

Object attributes to display on issue view: Region

But still, the value is not populating in the custom field. Could you please provide the right AQL to populate the value.

1 answer

0 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2024

Hi @Bondili_ Pushpitha Bai ,

I'm not sure if you have the correct setup. In an asset field you can show assets objects, but you want to show regions, which is an attribute of the object. 
Maybe it would be better to create an objecttype region?

Besides that you are using Filter issue scope (AQL) to filter. Why you should use Filter scope (AQL). The Filter issue scope is used to narrow down options based upon fields that are set in the issue scope.

Lastly, if you use the IN operator, you also need to add parentheses. So: Name IN ("someRegion") instead of Name IN someRegion

 

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