I have a Project with custom Issue types(A, B and C) and I have a drop-down(Drop-down1) present in Create screens of all these Issue types.
Drop-down1 Values ----- Mango, Banana, Apple.
So when Issue type A is selected I would like to set the Default value of Drop-down1 to Mango and for other issue types I would like it to be "None"
I tried setting up a different context for same project twice but it does not allow me to do so.
Can this be achieved ?
Thanks for the help!
Dinesh,
You cannot do this using custom field contexts. I understand the desire, but it isn't possible with the base functionality.
Thanks,
Kian
Hello,
You would need a plugin for it.
For example, you could use the Power Scripts add-on:
You could add a Live Fields with a code like this:
if(issueType == "Epic") {
lfRestrictSelectOptions("customfield_10703", {"1", "2", "3", "4", "5"});
}
You can read more about Live Fields here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
Thanks for your response.
Currently we don't have Power Scripts add-on installed in our system. Is it possible to implement this functionality using Script Runner?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.