I Jira Assets you can create object types underneath other (parent) object types. However when I attempt to use AQL for this it yields no results, because all of the syntax I can come up with looks for the objects and not the object types.
Context:
In assets we track application licenses. We have several application types those would be the parent object types. Underneath those "Types" of applications we have each application, and we have a lot of them so I am attempting to get the count of the child object types and not a total count of objects.
Any assistance or comments are welcome. Thank you!
Hello @David Hart
Let me check if I understand your scenario.
Does the following Schema accurately represent your scenario?
Object Type: "Application Type"
|-- Object Type: "Application 1"
|-- Object: License 1.1
|-- Object: License 1.2
|-- Object Type: "Application 2"
|-- Object: License 2.1
|-- Object: License 2.2
|-- Object Type: "Application 3"
|-- Object: License 3.1
And you want a query that will get "Application 1", "Application 2", and "Application 3", resulting in a total of 3 Object Types that are children of the Object Type "Application Type".
Is that correct?
@Trudy Claspill This is exactly correct! I am attempting to get a count of all the "Applications" listed in your exampled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have to concur with your findings. AQL is used to get Objects, not Object Types.
It might be possible to use the API. I haven't been able to quite work out the details yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This doesn't seem to be the best route for us to use. I will have to find another way, Thank you so much for your assistance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.