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

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

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 Champion Sep 24, 2017

Thanks Nic, learned something new today!

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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

41 views 0 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you