I'm using this but it just won't work
def Field1 = getFieldById("customfield_11111")
def Field2 = getFieldById("summary")
if (Field2.getFormValue() == "Show the Field")
{
Field1.setHidden(false)
}
else
{
Field1.setHidden(false)
}
Hello @Marc Jason Mutuc
try to use getValue instead of getFormValue
def Field1 = getFieldById("customfield_11111")
def Field2 = getFieldById("summary")
if (Field2.getValue() == "Show the Field")
{
Field1.setHidden(false)
}
else
{
Field1.setHidden(false)
}
Works! Thanks Mark! Nice name by the way! Woot woot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You re welcome, Marc! ;)
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.