The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Insight IQL filter by Object Schema

Dieter Gasser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 14, 2020

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 15, 2020

 

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

Dieter Gasser
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 15, 2020

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
0 votes
omar infante
December 15, 2020

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events