Hi 
I have a issue , my requirement is while creating that issue based on condtion i need to hide some of tabs present in its screen.
I wrote one behavior which work while editing but not working on create issue.
below i have pasted the code. with screen shot.
here while selecting "Project Type" == "Waterfall" then only i need to show these extra 4 fields otherwise i wont.
In the screen shot you can see if i select waterfall exra 4 fields should come, but even if i have not selected waterfall value its coming.
if(getActionName() as String == "Create") {
def projectTypeValue = getFieldByName("Project Type").getValue() as String
if(projectTypeValue != null) {
if(projectTypeValue == "Waterfall") {
showTab("BR Approvals")
showTab("FR Approvals")
showTab("SIT Test Plan Approvals")
showTab("UAT Test Plan Approvals")
}else{
hideTab("BR Approvals")
hideTab("FR Approvals")
hideTab("SIT Test Plan Approvals")
hideTab("UAT Test Plan Approvals")
}
}
}else{
hideTab("BR Approvals")
hideTab("FR Approvals")
hideTab("SIT Test Plan Approvals")
hideTab("UAT Test Plan Approvals")
}
Regards
Manas