Is there a way to limit the available Customer Request Types as part of a behaviour?
Trying to to get this working at a basic hardcoded level first
LinkedHashMap optionMap = [:]
I managed to get this working in a different way, by means of checking is a user is a Group or Role.
If they are, and it meets the criteria for that request type, the fields for that request type are set as required. (Visible, Read Only, Form Value, Label, Description).
if not, all other fields remain hidden and an error is displayed stating the user does not have access to that request type.
Unfortunately, this is not something that is doable via ScriptRunner's Behaviour.
It's not possible to restrict the Request Types via the Behaviour mainly because the Behaviour only works for Create / Edit / Transition and Assign screens.
The Request Types do not appear on any of these screens for the Behaviour to control it.
Thank you and Kind regards,
Ram
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.