Forums

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

Hide Custom Field Dropdown Values for Specific Users in Group

Matt Shigekawa
July 20, 2020

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. 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Winnie _Adaptavist_
October 5, 2021

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.

TAGS
AUG Leaders

Atlassian Community Events