Hi,
I am trying to enable some fields when Roadmap Item = Tactical [single select type] else the fields will be disabled. Can someone help me and i tried below code doesn't seem working.
def dropDown = getFieldById("customfield_15200")
if (dropDown.getValue() == "Tactical") {
def ccgroup = getFieldByName("Name")
def ccgroup1 = getFieldByName("Solution")
def ccgroup2 = getFieldByName("Theme/s") //Group
def ccgroup3 = getFieldByName("Driver Category")
ccgroup.setReadOnly(false)
ccgroup1.setReadOnly(false)
ccgroup2.setReadOnly(false)
ccgroup3.setReadOnly(false)
}Thanks
Teju Naik
solved by using this script on both urgency and imapct fields, instead of priority field.
I am struggling with the same issue. Could you elaborate a bit on how you "used the script on both urgency and impact fields"? Is this a scriptrunner listener? Or do I need to set a "custom script field"?
your help is very much appreciated.
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.