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

Trouble using aqlFunction(), can't sucessfully query what I need

Hi all,

I've been trying to understand aqlFunction() and am unable to figure out why I can't limit the query to a single Schema or Object Type in the aql.

 

Here's the relevant details:

 

Users is the object type

Office Location is the attribute

Wellington is the attribute value I want to query for

Master Object Schema is the schema I want to query against

Reporter's Profile is the custom field which yields the corresponding Users object to match the issue Reporter

 

So using a JQL search, I'm trying to identify issues where the Reporter is in Wellington.

 

This one works fine: "Reporter's profile" IN aqlFunction("\"Office Location\" = \"Wellington\"")

This one yields nothing: "Reporter's profile" IN aqlFunction("Users.\"Office Location\" = \"Wellington\"")

 

I could use the first query, but it takes a couple of seconds to load only 170 results.

The documentation says I should try to be as specific as possible, so I thought I could limit the search to a single Object Type: Users. But I can't make it work the way that the examples here are supposed to work.

Can anyone please advise where I'm going wrong here?

 

Thank you!!!

0 answers

Suggest an answer

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

Atlassian Community Events