Forums

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

Create an Insight custom field with its values based on another insight custom field attribute

Martin Ferreira June 6, 2022

Hello everyone,

I am trying to create an Insight custom field with its values based on another insight custom field. Giving a little context I have a 3-level hierarchy of insight, starting with the object type "Laptops" followed by "Model" and finally the "Parts". Here's the screenshot regarding the structure mentioned:

 3-levelHiearchy.png

I am looking for the behavior where my agent will select one of the Laptops in the issue (this field is already configured and working). I also need another field in the issue where it will bring all the "Parts" based on the Laptop's Model, both "Parts" and "Laptops" objects have the same reference with the Model object.

I am struggling with the second field, I am not 100% sure it is possible to do it, what I am trying to do right now is to filter the Parts custom field with the following syntax using Filter issue scope (IQL):
CFConfiguration.png

The options come empty, I am selecting the custom field with the Laptop that contains a model with parts associated with it, here's the screenshot:

issueView.png


Does anyone know how to configure this? or know if it's not possible to do it?

 

Thanks in advance!

 

1 answer

0 votes
Mark Segall
Community Champion
June 6, 2022

Hi @Martin Ferreira - This is one of those where you have to wrap your head around the having inbound/outbound references. Try something like this:

object HAVING inboundReferences(object HAVING outboundReferences($(customfield_10187})))

You may need to play around with the inbound vs outbound a bit.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events