Forums

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

Can I make an Insight Custom Field that allows the user to choose the object type?

Neil Isenor March 7, 2019

I'd like to have an Insight Custom Field where the user would choose the ObjectType, IE: Computer, or Phone. Is this possible? Is there an IQL command which will call the objectType itself?

Once I do that I will have an Insight Custom Field below which references the first field, and shows a list of objects which match the chosen type, and also have outbound references to the current reporter (that part I have already figured out).

Thanks!

2 answers

1 accepted

2 votes
Answer accepted
Yinon Negev
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.
March 18, 2019

Hi Neil.

    You can achieve this by having a Select List CF on the Issue where the options are available Object Types in Insight (e.g. Office, Employee, Host), then stating the following IQL in the Filter Issue Scope of the Insight CF:

objectType = ${Select List.label}

In this example, my select list CF is named "Select List", so used in the IQL as a placeholder wit ".label" will try to match an Object Type with the Name Label of the Option in the Select list.

Tested this here successfully with Insight 6.1.4. Note that this will not work in earlier versions of Insight (see here)

Kind regards,

Yinon

Team Riada

Neil Isenor March 18, 2019

Thanks Yinon,

I appreciate your help. This looks like exactly what I was hoping for!

Like Yinon Negev likes this
0 votes
Bert Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2019

Would it just be objecttype = "Device" and you'd have a device parent in your schema with phone, computer as child objects?

Neil Isenor March 18, 2019

That's a workaround that could work if required. Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events