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.
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.