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

1 vote
Accepted answer

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
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,333 views 0 8
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