[rt-users] Scrip question and how to debug?

John Arends jarends at uiuc.edu
Mon Mar 17 14:39:30 EDT 2008


$Owner->Name was what I was looking for. I'll have to post my scrip so 
other people can figure out what is going on.

John Arends wrote:
> Vivek:
> 
> Looking at log output made me realize that $Owner does not contain the 
> name of the owner. Where is the actual owner name stored as a string? I 
> want to compare that string to Nobody. This seems like it should be 
> fairly simple but I don't understand enough about how RT works 
> internally to figure that out.
> 
> my $admincclist = $self->TicketObj->AdminCc;
> 
>   my $Owner = $self->TicketObj->OwnerObj;
> 
> if ( $Owner->Id ne "Nobody"){
>   $admincclist->AddMember($Owner->Id);
> }
> 
> 
> 
>



More information about the rt-users mailing list