Hi Landon, Thank you for your reply. I have created the scrip as you suggested but there is no impact and subject line is still the same. Any suggestions please?
Cheers, Atif From: rt-users [mailto:[email protected]] On Behalf Of Landon Stewart Sent: 13 November 2014 16:51 To: [email protected] Subject: Re: [rt-users] how to allow subject line if update is from specific email address On Nov 13, 2014, at 5:06 AM, Atif Mehboob <[email protected]<mailto:[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]<mailto:[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 -- Atif Mehboob Linux Administrator Eckoh UK Limited Telford House, Corner Hall Hemel Hempstead, Hertfordshire HP3 9HN T 01442 458336 M n/a W www.eckoh.com [cid:[email protected]]<http://www.linkedin.com/company/eckoh-plc> [cid:[email protected]] <http://twitter.com/Eckoh> US Headquarters: Eckoh, Inc. 11811 N. Tatum Blvd., Suite 3031 Phoenix, AZ 85028 This communication contains information, which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s) only. If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender and then delete it. Opinions expressed in this message are those of the author, and are not binding on the company. Registered in England and Wales, No. 2796531 Registered office: Telford House, Corner Hall, Hemel Hempstead, Hertfordshire HP3 9HN A member of the Eckoh Plc group of companies.
