Forums

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

qlQuery attribute doesn't work using api assets/1.0/object/navlist/aql

Olivier Vanduynslaeger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2025

Hello
I try to found assets using the api assets/1.0/object/navlist/aql
with the qlQuery payload such as 
{ "qlQuery" : "objectTypeId=<id1> OR objectTypeId=<id12>"}
but there is always the same response
{'errorMessages': ['Something went wrong. Contact administrator'], 'errors': {}}

It seems thaht qlQuery does work because when i use objectTypeId attribute in the payload it works (but only oneid is available)

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Champion
April 8, 2025

Hi @Olivier Vanduynslaeger and welcome,

didi u try the following aql :

objectTypeId in (id1, id2)

https://support.atlassian.com/jira-service-management-cloud/docs/use-assets-query-language-aql/

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer