Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Control Multi-Select values based on a single select field choice

JIRA Server 8.8.1

Script Runner: 5.9.1-p5

Have two custom fields on screen.  One is a "Select List (single choice)" for Customers and the second one is a "Select List (multiple choices)" for database regions.   I am trying to find a way for when selecting the customer from the single choice list that will then filter the multiple choice list with ones for that specific customer.

For example:

       Customer 1 would give me Region-UAT, Region-DEV, Region-PROD 

        Customer 2 would give me Region-A, Region-B, Region-C

So the regions would change as the customer in the single select would change and Customer 1 would not see Customer 2 regions and the reverse.

 

I have tried the options here but have not been able to get any of them to work:

 

https://library.adaptavist.com/entity/set-available-options-to-a-multi-select-list

https://community.atlassian.com/t5/Jira-questions/In-Jira-how-to-control-the-values-of-a-multi-select-field-based/qaq-p/1050353

 

 

1 answer

1 accepted

0 votes
Answer accepted

I finally got the example here to work.

https://library.adaptavist.com/entity/set-available-options-to-a-multi-select-list

 

Turned out the screen that the Custom Fields were on had a different displayed name from the name of the actually field.  Once I changed to use the field names as defined it would work.

 

So need to be extra careful when the names of the fields are the ones that you find under custom fields and not necessarily the ones on screen especially for service desk.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

171 views 2 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you