Hi,
I tried to change the following behavior script that when in 'resolved' screen of a bug and choosing 'resolution' as 'duplicate' it will only then show the 'linked issues' field.
here is the original behavior code:
public void setPriorityJustification() {
FormField priField = getFieldById ("priority")
FormField priJustField = getFieldByName ("Priority Justification")
String priority = (String) priField.getFormValue()
if (priority == "1") { // 1 is Blocker
priJustField.setHidden(false)
}
else {
priJustField.setHidden(true)
}
}
Thanks!