Show the options in a single select list based on the issue type

UDAYARANGA MUDIGERE September 23, 2017

I have a Single Select Custom Field and it has the values, say, A,B,C,D,E,F,G.

If I select an issue type by name Task, then Single Select Custom Field should only have A, B, C options.

If I select an issue type by name Enhancement, it should show D

If I select an issue type by name User Q & A, it should show E, F, G

Other issue type selection should show only D

How do I achieve this?

 

2 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 24, 2017

Go to the list of custom fields in Admin -> Issues -> Custom fields.

Find your select list and hit "configure".

Add a context, giving it the options A, B and C, then tell it the context is for "Tasks"

Add another context for Enhancement with option D

Add another context for User with E, F and G

Let the default context have only D

Peter DeWitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 24, 2017

Thanks Nic, learned something new today!

0 votes
Peter DeWitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 23, 2017
You may need to use some custom scripting to make this happen.  Take a look at Adaptivist's Scriptrunner.

Suggest an answer

Log in or Sign up to answer