Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Asset CSV Import AQL question

Dennis Mattei June 7, 2023

Hey All!

I am trying to import into Assets and I have objects that are Offices like "HQ" and "CA Office",  I do have the address for "HQ" in there as "1 Main Street CITY STATE ZIP" 

I am trying to import a CSV of people and map the office location, some users have "1 Main street" some have "main street CITY ZIP", I realize I may have to do some data clean up but Im trying to figure out how to get the AQL to match. 

I had some minor luck using the anyattribute. Its very hard to test by making a change and importing and checking. 

 

1 answer

1 accepted

2 votes
Answer accepted
Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2023 edited

Haven't used Assets for Cloud, but if there is an opportunity to use regexp in import, you can try it.

It is usually configured in mapping of columns from file and object attributes.

image.png

Dennis Mattei June 8, 2023

Thanks! I don't think I have that option 

 

emp.png

I have tweaked my CSV so that the building is the same as the name of the office location, so this AQL is working, but obviously having to do manual intervention is not ideal. 

Name = ${Building}

Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2023

I see column "Regular Expression". It's what I was talking about.

And another hint: you can use Name LIKE ${Building}, it is more wider choice, then = or ==

Like Josh likes this
Dennis Mattei June 9, 2023

Wow! any closer right?  I feel silly. I will look into that. Im not sure what they accept, but I assume the documentation will point me in the right direction. Thanks!

Like Evgenii likes this
Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 9, 2023

You can test Regular Expressions here:

https://regex101.com/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Upcoming Jira Service Management Events