Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Is there a way to restrict the visibility of Insight attributes in the JSM/SD portal when using the object picker.
For reference the object picket is the dialog that appears and allows an advanced search using the magnifying glass next to the insight CF on the portal create request screen.
Hi @[deleted] ,
Did you find a solution for this?
I'm also running into the problem that attributes that have been set to hidden are showing in the customer portal when using the object picker. As some of these hidden attributes include contact information it is not desirable that anyone can see this information.
Worst case I can disable the object picker for this field, but it does provide some valuable contextual information so if possible I'd like to keep it active.
@David - If you set the attributes Hidden setting the attribute will be hidden from the users role. This means you will need to add a group (I generally use jira-users) to the User Role for the objectType.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are several attributes that cannot be hidden this way, e.g. Created and Updated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Furthermore, your complete object schema may be exposed.
Click the cogwheel and increase the Reference depth and Reference Types, and see the magic happen...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Either via the type-ahead or the magnifying glass, the list is subject to whatever IQL filter you've applied in the custom field context.
If you want a different list in the portal vs jira, then you need to have an IQL that will render differently based on default values and IQL placeholders.
If you can have a custom field that has a different value when you're in Jira or when you're in the Portal, then you can use that value as a way to filter the objects.
This works best if you also have scriptrunner so you can hide that field.
Then in your objects, you might need an attribute like "Applicable to" that will contain some values that can be used to match against the various default values in the form. For example, it can contain just "Jira", just "Portal", or "Jira,Portal".
Then the IQL would look something like
"Applicable To" like ${ApplicableToCustomFieldName}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.