Skip to content
Create a gist now

Instantly share code, notes, and snippets.

#---TEST-IP-Addresses
while ($body =~ /X-IP-Addresses\:(.*)\n/gi){
my $ip = $1;
($id,$msg) = $cf->LoadByNameAndQueue (Name=>'TEST-IP-Addresses', Queue=>$queue);
($id,$msg) = $Ticket->AddCustomFieldValue (Field => $cf, Value =>$ip);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.