Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

filter issue scope (iql) doesn't work on value from field.

Xavier Johanis Elnas May 8, 2022

Hello guys, thank you for looking into this one. I've tried filtering data using Filter issue scope on one of my custom field but somehow it doesn't work. Tried inputting data manually in Filter issue scope and there I can see data from dropdown. Problem is how can I get the data from my first issue field.

 

Basically how it works is I have a custom field which is INSIGHT-HUM-Employees (customfield_10286) which I can select employees from, then below is a custom field(INSIGHT-HUM-Employee-Approvers (customfield_10287)) in which approvers should appear. In Insight I have attribute EmployeeID which is under objectType= Employees

 

here's my custom field - INSIGHT-HUM-Employees (customfield_10286)

image.pngimage.png

 


config of my custom field - INSIGHT-HUM-Employee-Approvers (customfield_10287)

 

image.png

as you can see I've put EmployeeID LIKE ${customfield_10286.name} in my filter issue scope but that doesn't work, tried forcing the data by putting EmployeeID = 2117 and there it works.

 

Here I should see the list of data based off my inputs in my first field INSIGHT-HUM-Employees

image.png

 


Here's the data on my insight schema

image.png

image.png

 

ref:

https://community.atlassian.com/t5/Jira-questions/Dynamic-insight-Customfield/qaq-p/2022409#U2022424

https://confluence.atlassian.com/jirakb/how-to-use-insight-custom-field-to-dynamically-filter-a-jira-custom-field-1093993792.html

https://confluence.atlassian.com/servicemanagementserver/advanced-placeholders-1044784599.html#Advanced:Placeholders-Customfields

https://support.atlassian.com/jira-service-management-cloud/docs/use-insight-query-language-iql/

 

tried to follow and create exact same insight schema in this - guide , but got the error below

{

    "errorMessages": [

        "Field customfield_10310 of type Insight objects does not support options."

    ],

    "errors": {}

}

 

I've been stuck for hours on this one hopefully someone can help me on this one, I'd really appreciate it.

 

Cheers!

0 answers

Suggest an answer

Log in or Sign up to answer