The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Insight custom field with issue scope IQL based on cascading select custom field

Stefan Bogdan Cimpeanu
Contributor
May 16, 2021

Hello,
We have a cascaded select custom field.
We also have an Insight object field.
We want to set issue scope (IQL) for the insight object using placeholders for the first selection in the cascaded select field, but can't find the correct way.

We tried objectType =${customfield_10207.${1}} , objectType =${customfield_10207.${0}}, and other variations, but can't get the correct value.

For a particular issue, the value for the cascaded filed looks like this: [null:Domain name services, 1:Change domain] , where 'Domain name services' is the first select option, and 'Change domain' is the second option.

For regular select fields, the insight issue scope IQL works just fine as: objectType =${customfield_10204.name}

Please advise how to create the IQL correctly.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Björn Gullander
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 Champions.
May 21, 2021

Hi

Cascading list values are a hazzle. And I'm not sure Cascading fields are supported by placeholders and I don't get anything to work like your example. (https://documentation.mindville.com/display/INSSERV/Placeholders+in+post+functions)

However, the syntax for multi-valued placeholders should be like this (with no dot): 

first item: ${customfield_10207${1}}

second item: ${customfield_10207${2}}

all items: ${customfield_10207${0}}

 

Would it not be possible to replace the cascading field with two Insight fields instead (one parent and one child field ) and that the child field value is referred by the field you are trying to filter?

Björn

DEPLOYMENT TYPE
SERVER
VERSION
4.16.0
TAGS
AUG Leaders

Atlassian Community Events