Create a scrip 'On Create' with the following 'Custom action cleanup code':

my $ticket;
my $attachment = $self->TransactionObj->Attachments->First;
return 1 unless $attachment;
my $prio = $attachment->GetHeader('Priority');
return 1 unless $prio;

if ( $prio eq 'Urgent' ) {
  $ticket->SetPriority(50);
}
return 1;

-chris

Am 03.08.2010 20:17, schrieb Mark Jenks:
> Is there a way to set a ticket priority to 50 if the user sets the Email
> from outlook to Urgent?
> 
>  
> 
> Inside of the headers of the email exists “Priority: Urgent”.
> 
>  
> 
> Can that be checked and acted on when a ticket gets created?
> 

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to