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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

Edited

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

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