Query Jira on Insight Reference fields

I set up an object that has a couple of reference fields. I want to query Jira to see all of the tickets that contain an object that has a specific value in one of those reference fields but I can't figure out the JQL. 

Object = Report

Reference field = LoB

In my head, it's something like this:
Report.LoB = Dental 

But that doesn't work. What is the JQL for Insight reference fields? 





1 answer

1 accepted

This widget could not be displayed.

Hi Kathy, 


You should use the iqlFunction to query Insight objects from JQL. 


So JQL looks like this:

customField in iqlFunction("Customer.\"Account Manager\" = \"Mathias Edblom\"")

Inside the iqlFunction you provide an IQL (Insight query language), here you check if an object has a certain value for the referenced attribute. 


Documentation is found here: https://documentation.riada.se/insight/latest/insight-user-s-guide/insight-jql-functions




Thx! I found that documentation eventually and got it working. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

545 views 3 19
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you