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

AQL filter: Attribute(Object type) having inR(some aql filter) not as expected.

Kukk November 9, 2023

Hello all!

I hope I'm not understanding the logic here and i have a mistake in my filter. Syntax is correct.

This AQL filter are applied to machine object list.

1. Does not work as expected, It should read : show me machines, that are part of project that has inbound object of type Machine. And this is true.Screenshot 2023-11-09 211808.png

  • "PartOfProject" HAVING inboundReferences(objectType = Machine)
    • this returns no machine objects

2. Works as expected, returns all machines.

  • "PartOfProject".objecttype = Project

 

This AQL filter are applied to Project object list.

3. This works as expected, all project are returned since they all have inbound reference of type machine

  • object HAVING inboundReferences(objectType = "Machine")

1 answer

1 accepted

1 vote
Answer accepted
Kukk November 10, 2023

I don't answer to my question, maybe inbound check can't be done for object attributes in one query.

But this was the solution for my needs :

https://community.atlassian.com/t5/Jira-Service-Management-articles/Using-Cascading-Fields-with-Forms-and-Assets/ba-p/2318049 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM Trial
TAGS
AUG Leaders

Atlassian Community Events