[rt-users] On Owner change set owner as AdminCC
John Arends
jarends at uiuc.edu
Tue Mar 11 12:34:48 EDT 2008
I'm trying to figure out how to write a scrip that will add a ticket
owner as an AdminCC. This way even if the owner changes, each person who
has ever owned the ticket will be on the AdminCC list.
I'm still very new to writing scrips so I may be missing something obvious.
Any suggestions?
This is what I have:
Condition: On Owner Change
Action: User Defined
Template: Global template: blank
Custom action preparation code: return 1;
Custom action cleanup code:
my $admincclist = $self->TicketObj->AdminCc;
my $Owner = $self->TicketObj->Owner;
$admincclist->AddMember($Owner->Id);
More information about the rt-users
mailing list