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. 

Example:
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? 

 

TIA!

-Kathy

 

1 answer

1 accepted

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

 

Br,

Rickard

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Apr 30, 2018 in Marketplace Apps

Why moving to Confluence Data Center is only a job half-done

Confluence Data Center is a deployment option that was designed for performance at scale. In other words, Confluence will handle increased traffic much reliably in a clustered environment and yo...

229 views 0 6
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