In creation screen I need to show or hide a customfield depending on the value selected by user in a cascading select list.
I've included this script but it doesn't works:
if(getActionName() == "Create" && getFieldByName("Área/Subárea").getValue()=="Proyectos,Proyectos menores"){
getFieldByName("Es menor").setHidden(true);
}
if(getActionName() == "Create" && getFieldByName("Área/Subárea").getValue()!="Proyectos,Proyectos menores"){
getFieldByName("Es menor").setHidden(false);
}
What am I doing wrong?
Thanks in advance
i think this is what you are looking for
https://confluence.atlassian.com/display/JIRA/Jelly+Escalation
Thanks Rambanam,
Trouble is with ondemand instances you can't run Jelly scripts.
Not sure of the alternatives are.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think this script will work for you
http://www.renjithv.info/2013/01/auto-transition-script-for-jira-using-rest/
check this
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.