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,298,078
Community Members
 
Community Events
165
Community Groups

Using imbricated IQL queries for insight search

Edited

Hi all, 

I do use the Jira environment import in an Insight Object Schema. My end goal is to have a global view and allow me to do some cleanup.

To do such thing, I would like to be able to created imbricated IQL queries to display, for example, all the projects that are using some specific fields.

I can easily move from fields to project going one objectType at a time using inR and outR but that process is terribly pain full and I would like to have one query that will do it all for me.

I could not find a way to imbricate inR within other inR or ouR, something like that would work in my mind :

object having inR(object having inR("Key" IN (TJSOS-28466, TJSOS-28469, TJSOS-28471, TJSOS-28472, TJSOS-28498, TJSOS-28499)))

Sadly not in reality.

Is that possible at all ?

1 answer

Maybe something as easy as this :) (I couldn't help trying this query)

objectType=Project AND object HAVING outboundReferences(
objecttype = "Issue Type Screen Scheme" AND object HAVING inboundReferences(
objecttype = "Screen Scheme - Issue type" AND object HAVING outboundReferences(
objecttype = "Screen Scheme" AND object HAVING inboundReferences(
objecttype = "Screen - Issue Operation" AND object HAVING outboundReferences(
objecttype = Screen AND object HAVING inboundReferences(
objecttype = "Screen Tab" AND object HAVING inboundReferences(
objecttype = "Screen Tab Field" AND "Field" = Approvers)))))))

It should give you the projects having the Approvers field on a screen connected to the project.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,813 views 37 48
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