<html><head><style type="text/css">body {word-wrap: break-word; background-color:#ffffff;}</style></head><body><div style="font-family: sans-serif; font-size: 16px">Thanks! But what is the wild card for the email value? I need them all stripped.<br><br>Thanks again!</div><br><br>-----Original message-----<br><blockquote style="; border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: sans-serif; font-size: 14px"><b>From: </b>Christian Loos <chr.loos@googlemail.com><b><br>To: </b>Randy Black <Randy.Black@Buckle.com><b><br>Cc: </b>rt-users@lists.bestpractical.com<b><br>Sent: </b>Thu, Jan 5, 2012 10:59:01 GMT+00:00<b><br>Subject: </b>Re: Strip the requestor<br><br></div>$self->TicketObj->DeleteWatcher(<br> Type => 'Requestor',<br> Email => 'Randy.Black@Buckle.com',<br> Silent => 1);<br><br>Omit the Silent if you want an History entry.<br><br>-Chris<br><br>Am 04.01.2012 23:10, schrieb Randy Black:<br>> Anyone?<br>><br>> Need to strip the requestor on create for a specific queue.<br>><br>> Thanks,<br>><br>> Randy<br>><br>> *From:*rt-users-bounces@lists.bestpractical.com<br>> [mailto:rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Randy Black<br>> *Sent:* Wednesday, January 04, 2012 2:01 PM<br>> *To:* rt-users@lists.bestpractical.com<br>> *Subject:* [rt-users] Strip the requestor<br>><br>> I need to strip the requestor from tickets belonging to a queue. How do<br>> I do that?<br>><br>> This seems to not be working:<br>><br>> my $newqueue = "Contact\ Us";<br>><br>> my $newrequestor = "nobody";<br>><br>> my $T_Obj = $self->TicketObj;<br>><br>> $RT::Logger->info("Auto assign ticket #". $T_Obj->id ." to queue #".<br>> $newqueue );<br>><br>> my ($status, $msg) = $T_Obj->SetQueue($newqueue);<br>><br>> unless ($status) {<br>><br>> $RT::Logger->warning("unable to set new queue: $msg");<br>><br>> return undef;<br>><br>> }<br>><br>> $RT::Logger->info("Auto assign ticket #". $T_Obj->id ." to user #".<br>> $newrequestor );<br>><br>> my ($status, $msg) = $self->TicketObj->SetRequestor( $newrequestor );<br>><br>> unless( $status ) {<br>><br>> $RT::Logger->error( "Impossible to assign the ticket to $newrequestor:<br>> $msg" );<br>><br>> return undef;<br>><br>> }<br>><br>> return 1;<br>><br>><br>><br>> --------<br>> RT Training Sessions (<a href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a>)<br>> * Boston — March 5& 6, 2012<br><br></blockquote></body></html>