We have a use case where we need to hide certain values in a custom field's dropdown for all users except for users in the group critical-issues-management.
Custom Field: Critical Issue
Critical Issue Values: None, Minor, Critical
Scenario 1: critical-issues-management group user sees values: None, Minor, Critical
Scenario 2: Non critical-issues-management group user sees values: None, Minor
Using ScriptRunner Behaviors, we are able to hide the entire custom field (Critical Issues) using the Hide selector, but we are looking for a way to just hide dropdown values based on the above criteria.
Hi Ash,
By 'multichoice select list', are you perhaps referring to a checkboxes or radio buttons field? If so, I filed a new feature request for that about a fortnight ago. You can check it out & vote for it here.
As for allowing users to add their preferred values to a select list, I think that you can work with a Select List and a Text Field. For example, you can have an 'Other' option in that Select List and set up a Behaviour to hide the Text Field initially. When a user selects 'Other', display that Text Field which let the user types some values. Then, you may set up a Listener that helps create and add the new values as options to that Select List. There's an example documented here: Select Lists with Other
I hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.