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: 

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

20000260
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
April 8, 2025

Hi @20000260 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

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events