Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,619
Community Members
 
Community Events
184
Community Groups

Jira Insight (Assets) allow attribute to include child object types

Edited

In setting up an Object Schema in Jira Insight, I would like to be able to select child object types in an attribute field.

For example, I have an Object Type called "Location", which will be an abstract parent. There will be three child types called: Desk, Off Site, and Server Room. Each of these are separate types of locations, but all indicate where an asset can be located. In my "Computer" object type, I would like to have an attribute called "Location" which has a Type of "Object", and set it to the parent object type "Location".

After setting this up, I can only select Location objects in this field. What I want is to be able to select a Desk, Server Room, or Off Site location.

Is this possible?

 

Object Types

Screen Shot 2023-04-05 at 10.42.02 AM.png

Computer Attribute

Screen Shot 2023-04-05 at 10.42.12 AM.png

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 05, 2023

No, the attribute reference can only be a 1-to-1 relation, so you cannot set the attribute to reference Desk, Server Room or Off Site, you have to pick one of the three. And you if you would create the location as an abstract object schema your reference cannot use that to pick objects, it would show up as an empty list.

@Mikael Sandberg thanks so much for the response. Do you know of any other way to handle this type of situation? The two less-than-ideal solutions I can think of are:

  1. Do not group the different types of locations, just make them all as a "Location" object. Possibly include a naming convention prefix.
  2. Keep the 3 sub-types of location and create 3 attributes on the asset to specify where it is located.

Thanks again.

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 05, 2023

I would probably go with your first option, and either use a label or a prefix like you suggested.

@Mikael Sandberg by "label" do you mean another attribute on the object type, or is there a label feature that I'm missing? Thanks.

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 05, 2023

Another attribute, that way you can use a filter to say only show desk.

Thanks for your help!

For anyone else who comes across this, I tested out the #1 option above. All types of locations were stored under the "Location" object type and used a prefix, such as "Server Room". Each location also had a "Type" attribute added, and required a value of: Desk, Off Site, or Server Room. When I associate an asset with one of these locations, I can then filter them down based on the Location.Type field, which is an advanced IQL query that looks like this:

"Location"."Type" = "Server Room"

Like Mikael Sandberg likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events