Hi Team!!
We're working in our inventory with Assets, and, while everything is very easy and comfortable to work with, we find this very disorienting:
Parent object is counting 0, when children counts hundreds of them, and it feels really counterintuitive, because one would expect for parent show the sum of the objects in children categories, right?
I agree with setting the parent as abstract like @Arkadiusz Wroblewski mentioned. If you want the parent to have a total count, it is possible but, you have to inherit the attributes from the parent, which may or may not be what you want.
What this means is the parent attributes get passed down as attributes on the children, so that they're shared across all child object types. This will allow the child objects to appear under the parent as well as the count, and if set to abstract, you can ensure that no parent objects will be created.
Now you will have to do some work to get this to work this way if desired. The rule is when you set an object type to inherit attributes, you cannot already have child object types, and you cannot move existing object types to become the parent object type's children either. (I have done this wrong so many times even as an assets expert!)
Therefore, you'll have to delete the child objects (and likely first export the objects themselves to import later), set the parent object type to allow inheriting of attributes (see how to do this here), and then recreate the child object types, adding the attributes now at the parent level, and importing the objects back in.
I have a set up as shown here which seems to be what you want:
Hi @Andrea Robbins thx a lot for the thoughtful explanation! I get the point. I'll tinker with it until I get what we desire!
RGDS!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Juan Carlos Pin
That’s actually the expected behavior in Assets. The count you see in the sidebar only reflects objects assigned directly to that specific type and it doesn't roll up totals from its children.
Since your objects are categorized as 'Mac' or 'Windows' rather than 'Laptop,' seeing a zero for Laptops is normal. The tree is a type hierarchy, not a summary counter.
If 'Laptops' is just meant to be a container for your sub-types, you can set it as an 'abstract' object type to prevent anyone from creating objects there directly. For a total count across the whole branch, you'd need to use an AQL-based view or a dashboard gadget, as the sidebar isn't designed to sum up child types.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Arkadiusz Wroblewski Thx for your answer! Indeed, I understand that the parent object has its own type attributes, but, as you mentioned, setting objects as abstract could make them mere containers, or "folders", or even categories, right? just an idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://support.atlassian.com/assets/docs/glossary-of-assets-in-jira-service-management/
Here you have pure definition Abstract object in Jira Assets.
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.
Nothing to thanks. We here to help each other.🤠😊
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.