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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Insight IQL filter by Object Schema

Hi all,

I am using two Object Schemas in Insight, both of them contain an Object Type with the same name.

I expose objects through a custom field to Jira. For this, I am using an Asset Type Configuration with the following IQL definition:

objectType="Software Asset"

This returns all objects of type "Software Asset" from both schemas.

How can I create an IQL query that filters by object schema so that only Software Assets of one schema are returned?

Any hint is greatly appreciated.

Regards,

Dieter

2 answers

1 accepted

1 vote
Answer accepted

 

Hello,

 

You may also filter according to the Object Type ID. For example IQL can be: 

objectTypeId IN (99)

Insight Cloud IQL documentation has more examples.

You can find the Object Type ID for your "Software Asset" on the Object Type configuration page.

(Using ID's is also better then Names. Because Object Type Names may be changed in time and that would mean an update for all IQLs.)

 

FYI

Hakan Bahadir

Solutions Engineer

Hi Hakan, thanks so much for the reply, this fixed my problem. It's a shame I didn't notice this option myself :)

Like Hakan Bahadir likes this

I am also running into this exact same issue as Dieter, on Jira Cloud. I have to schemas and both include an Object Type named "Hardware." Any insight (no pun intended) would be greatly appreciated.

Thanks!

Omar

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

203 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you