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: 

How to write AQL to access multiple objects and related data using Assets?

Sandra Lawrence
Contributor
March 7, 2023

I have a simple schema reflecting organization of projects using Assets.  I have 3 object types set up as:

Division - Name

Program - Name, Division  (associated to Division) and other data

Project - Name, Program (associated to Program) and other data

 

I am trying to use Assets/Search for Objects AQL and cannot seem to show the following: 

For each division, show each program and all associated projects.

How can I do what seems to be a simple AQL or report?

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Iman Attia
July 13, 2023

If you have already populated the Division under the program (in this example "Department") Objecttype, then when clicking on Division you should see in the top RHS all inbound objects.Data.png

If you wanted to list the projects on that Division you could filter on Program by: 

object HAVING outboundReferences("Division" IN (${Division}))

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events