Create relationships between object types in Assets
By the end of this lesson, you'll be able to:
- Understand how asset relationships work in Jira Service Management
- View object type references
- Create an object reference
- Explain the difference between outbound and inbound references
- Describe attribute inheritance
- Enable Include Children
How does Assets handle asset relationships?
Asset objects can reference other objects
What are asset dependencies?
- One-to-One: A single asset depends on another single asset (for example a specific printer connected to a particular workstation).
- One-to-Many: A single asset depends on multiple other assets (for example a server supporting several applications).
- Many-to-Many: Multiple assets depend on multiple other assets (for example several virtual machines dependent on multiple network switches and storage systems).
Why should you map asset dependencies?
How can you view these dependencies?
Use Assets' graph views
Graph views are available for the entire object schema, for an individual object type, and also for an individual object.
Object type graph
Object graph
How can you connect object types?
Object references connect object types
- The Computer object type has an attribute: Model.
- The Model attribute references the Computer Model object type.
- The value of Model will be set to one of the Computer Model objects.
- In this example, Model is set to Dell XPS.
Benefits of object types
Creating object references
The Additional Value column provides context for the reference and is chosen from a list of configurable values. It is primarily used to filter reference types in the graph view and can also be used in advanced AQL searches.
What reference types exist?
Groups and references
- If you want attributes displayed in reports, they need to belong to the filtered object type, which means the object type needs to have an outbound reference.
- It is easier to search using outbound references since you can use dot notation in AQL search queries.
- Avoid referencing object types with many objects since those objects will appear in pick lists and multi-value referencing attributes.
Let’s explore an example
- The risk here is that Group objects can potentially contain hundreds of User objects.
- This makes it difficult to edit and view the Group objects.
- However, the benefit is it's easy to create a report showing a list of Groups with all their members.
It's also possible to reference objects in a different object schema. To do this, you must enable the setting Allow others to select objects from this schema.
👉 For example: If an HR schema contains information about all employees, an ITSM schema can reference the employee objects in the HR schema to assign an employee ownership of a computer.
Attribute inheritance
Can attributes be inherited?
Let's explore a use case!
Inheritance considerations
Enabling Include Children
Including children is unrelated to inheritance and unaffected by schema inheritance configurations.
How was this lesson?
next lesson
Find your assets with AQL
- How do you search for assets?
- Bulk update assets from your search
- Assets Query Language (AQL) basics
- AQL dot notation
- Assets custom fields in Jira