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: 

Show OBJECT TYPES instead of OBJECTS when querying Assets with AQL

AV
Contributor
June 5, 2023

First an example of what I have in my Assets in Jira:

Let's say I have an Object Schema called 'Internal CMDB' where I store some CI's which I would like to use in tickets.

In this 'Internal CMDB', I have a couple of Object Types, which on their own can have other Object Types as child:

  • Hardware
    • Server
    • Laptop
    • Workstation
    • Monitor
    • Switch / Router
    • Printer
    • Firewall
    • Resources
  • Software
    • Operating System
    • First-Party Software
    • Licenses
    • Certificates

Now in a form (let's say an incident form), I want to field (I am using a Custom Field, with Field Type: Asset Objects) where I can select one of both main Object Types. Followed after by another box where I can select the child Object Types, and eventually I would like to select an object, out of the Object Type.
So someone reports a ticket because their laptop has an issue, I want our servicedesk to be able to select Hardware > Laptop > 'laptop123 - Paul's laptop'

I can get all the OBJECTS to show, which belong to Object Type 'Hardware' for example, but I am unable to show all OBJECT TYPES which are childs to 'Hardware'.

So basically i want to be able to show OBJECT TYPES, and not OBJECTS, or any other suggestion what would be the best practice for this which might be better suited for what I want to do?

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

Atlassian Community Events