Hi,
I am trying to hide a database custom field based on sub-task issue type using behavior plugin but it is not working. I have tried below script in behaviours plugin -
public
void
setPriorityJustification() {
FormField priField = getFieldById (
"issuetype"
)
FormField priJustField = getFieldByName (
"CustomField_1234"
)
String priority = (String) priField.getFormValue()
if
(priority ==
"10007"
) {
// 10007 is 1 of the issue type
priJustField.setHidden(
false
)
}
else
{
priJustField.setHidden(
true
)
}
}
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.