Closed AdelRS closed 4 years ago
I found the mistake, sorry:
if (custom_field_value(47)=="1") self.status_id=16 self.assigned_to_id=custom_field_value(89) end if (custom_field_value(91)=="1") self.status_id=17 end if (custom_field_value(91)=="0") self.status_id=6 self.assigned_to_id=custom_field_value(90) self.custom_field_values = {'47' => ""} end
Hi,
How to change a value of custom field to NULL. In this case is field 47, is a check box.
if (custom_field_value(47)=="1") self.status_id=16 self.assigned_to_id=custom_field_value(89) end if (custom_field_value(91)=="1") self.status_id=17 end if (custom_field_value(91)=="0") self.status_id=6 self.assigned_to_id=custom_field_value(90) issue.custom_field_values = {'47' => ""} end
Thanks in advance.