On Nov 13, 2014, at 5:06 AM, Atif Mehboob <[email protected]> wrote: > > Hi All, > > We are using RT 4.2.1. How can we allow a specific email address to update > the subject line of ticket in any queue. Any suggestions please? > > Regards, > Atif
Hi Atif, We do this using a scrip (in this case it'd be a global scrip). Update it with the email address in question. Description: Update the subject for [email protected] Condition: On Correspond Action: (User defined) my $attachments = $self->TransactionObj->Attachments; $attachments->Columns( qw(id Headers Subject) ); my $attachment = $attachments->First; return 0 unless $attachment; return 0 unless $self->TicketObj->IsWatcher( Type => 'Requestor', Email => '[email protected] <mailto:[email protected]>' ); my $subject = $attachment->GetHeader('Subject'); return 0 unless $subject; $self->TicketObj->SetSubject($subject); return 1; Template: Global template: Blank Stage: TransactionCreate
