Hello everyone,
i'm setting up a JSM project and would like to use an Insight Object custom field, that is filtered based on the chosen Request type:
So i tried to configure the custom field like this:
Filter Scope (IQL): objectType in objectTypeAndChildren("Insight ObjectType 1")
Filter Issue Scope (IQL): objectType in objectTypeAndChildren(${customfield_10300.requestType.name)
The Insight Objects Hierarchy looks like this, with
This does not get me any objects in the Create Screen though, can you maybe help if i do anything wrong?
It will work on your internal screens but not on the portal itself since Insight fields currently don't support customer request type placeholders or even a custom field if the custom field is hidden, it's why for example I've had to make separate top level category insight fields for each of my dynamic portal forms instead of just using one, because there's no placeholder for it to refine the list in a single field.
Hi @alex bauer , did you manage to find a way to make the Asset field depend on the request type? It would help me too!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not possible with IQL at least, there MAY be something you can do if you're good with Groovy and make an initializer.
In terms of native functionality, even if you add a prefilled value to a hidden field, the assets field can't read it.
I got round it by having a very high level categorization field called 'Technology Request Type' that will only show objects of 'Portal Request Type' = Technology.
On a different dynamic form I don't have a need for this super high level field, but I still use the object attribute to refine. I have a Request Category field that's filtered to only show objects where inR(Portal Request Type = Trading.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @alex bauer ,
Some questions for a better understanding:
Regards, Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marco Brundel,
thanks for looking into this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Something to add to this that recently came to my attention. Unfortunately the placeholder ${customfield_xxxxx.requestType.name} will work fine for a native single select, but doesn't work for Dynamic Forms Single Select fields. Have confirmed through testing with Atlassian and Deviniti :( I have an open ticket with Deviniti to look into it.
You can get the value in an assets post function, but unfortunately the value isn't being displayed in the name string format behind the scenes on a create or edit screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.