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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Creating filtered dropdowns for asset fields with Assets/Insight?


I have an Assets CMDB in Jira.

We have following hierarchy:

Customer (entity containing customer contact information, etc)

      ---Asset (entity containing licensing information, etc)

          ---Tenant (network server, etc with detailed information, etc)

I am creating service management forms for opening incident tickets, service requests, etc.

I would like to make it so that when someone chooses a customer from the insight customer field - it only populates with child assets of that customer in the assets field. When clicking on an item in the assets field it only populates the Tenant field with only Tenants that are children to the Asset.

Would these be accomplished in the filter issue scope(AQL): area of this screen?

using the contexts and default field configuration screen.

filter issue scope : objjecttype = "asset"
filter issue scope : ???

This might work but also raises concern what happens if you click on assets but have don't have a value yet for customer field, etc?

Thank You



1 answer

1 vote
Mikael Sandberg Community Leader Dec 01, 2022

Yes, filter scope will do this for you. Have a look at the announcement about it here, it has a good example.

And regarding your concern if someone tries to bypass one of the fields, all that happens is that no results will be shown. Here is an example from our peripheral request, if you do not select the location you will not get any results back:

Screenshot 2022-12-01 at 2.08.45 PM.png 

Mikael Sandberg Community Leader Dec 01, 2022

And once you select a value in the parent field the filtered scope field will return results:

Screenshot 2022-12-01 at 2.15.15 PM.png

Hi @Mikael Sandberg 

I looked at the examples provided, I still am not certain on the syntax because the examples what the syntax is on custom fields.

the insight custom fields in JIRA are these and the hierarchy is configured in Assets/Insight.



I have found some examples (few and far between) out there but they are very specific and hard to follow their reference point: making reference to customfield____12345, etc
I can't find that example again but the reference to the custom field seemed to indicate there is the friendy name like "Tenant" but an unerlying technical name to be used for IQL.

What would the IQL look like for the second drop down to only provide the tenants of the customer? 

Are there resources on the internet which shows how to work with the IQL?

Thank You

Mikael Sandberg Community Leader Dec 15, 2022

So the customfield_XXXXX is used because that will never change, but you can change the name of the field, and the field name is not unique so you could end up in a situation were you have two fields with the same name. By using the customfield_XXXXX you avoid getting nothing returned in that case.

Here is an example of how I use it. For our peripheral requests that I mentioned above we have different catalogs depending on your location. The configuration for peripherals looks like this:

Screenshot 2022-12-15 at 8.29.50 AM.png

The filter scope excludes Location because location and peripherals are within the same Object schema. The attribute Catalog in Assets is linked to Location object, and on the request form I have a custom field called Location that is liked to those objects.

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events