Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,241
Community Members
 
Community Events
165
Community Groups

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

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 Leader Jun 06, 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
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

343 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you