Query Jira on Insight Reference fields

Kathy Barton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2018

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
Answer accepted
Rickard Hyllenstam January 8, 2018

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

Kathy Barton
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events