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,465,353
Community Members
 
Community Events
176
Community Groups

Insight IQL: filter results by the value of another attribute

Greetings,

I am utilizing Insight for asset management. I've created and populated the following object types: Manufacturer, Device Type, and Model.

I have those objects types added as attributes to an object type called "Corporate Asset". I am trying to set it up so that when someone creates an object under Corporate Asset -- if they were to chose Laptop under Device Type and Lenovo under Manufacturer -- that when you click the Model drop down it populates objects under the Model object type that corresponds to the previous selections of Laptop and Lenovo. I believe this can be done via the anyattribute function of IQL but don't know how to set it up to search all the Model objects by what was populated in the Device Type and Manufacturer fields.

Something like the following IQL query:
anyattribute = "Corporate Asset".Manufacturer

This doesn't work obviously. I would like to be able to reference the current attribute value of Manufacturer and Device Type so that it checks for all Models that have those values assigned to them.

Any assistance with this would be greatly appreciated.

4 answers

Hi Mathew,

As of today with Insight version 5.0.4, it's not possible to have cascading options in your dropdown when you select values for objects. This is something we are gonna look at for a future update, but I can't say right now when this might be implemented.

Best Regards
Alexander

Thank you for letting me know this Alex. Is there a ticket in for a feature request for this? I'd love to give my input and have some tracking on this item.

I'd love to use Insight but due to the needs of my organization we will need to pursue other asset management options until Insight has this feature in place.

Hi Matthew, and thanks for the response.

There is tickets for this, but the system is not open in that sense that we currently have a way of showing feature requests and bugs etc openly. They belong to a reporter so to say. 

Best Regards
Alexander

Mathew, 

Good news! This is under construction and will be included in the upcoming release of Insight (5.1).

You will be able to do something like the following in the IQL configuration for the reference attribute.

Manufacturer = ${Manufacturer} AND "Device Type" = ${Device Type}

The right hand side can contain one or more placeholders and the values will be populated by the value currently of that Attribute Type. 

Like Parvaneh Zand likes this

Hi Ola,

Good to hear this will be coming out in 5.1, would you be able to share an estimate of when that may be? 

Thanks

Hey,

So this is the exact problem I wanted to solve in the new system I am building.

I did what Ola_Melin said changing the field name to my own and worked an absolute treat.

 

Thanks!

@Mathew FerranteI have same problem with you. Could some one help me please?

This documentation specifically speaks about integrating custom Insight fields into JIRA Service Desk which is not what I am looking for. Once I can create assets the way I want to, I can focus on importing them into JIRA Service Desk.


I want to be able to create my assets and have them dynamically populate model information based on selections I make in the drop down boxes for Device Type and Manufacturer.

For example if I setup the following IQL query attached to the Model attribute:

allattributes = "Lenovo"

-or-

Manufacturer = "Lenovo"

It will filter all the model objects I have for Lenovo. I need what comes after the = operator to be something dynamic. Ideally, I would like to have something that looks like

"Device Type" = attributeID(551) AND Manufacturer = attributeID(552).Value

... where it pulls what was selected from those two attributes and populates a model list that meets those criteria.

Like Tom Martin likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events