[rt-users] Email Priority.

Christian Loos cloos at netcologne.de
Wed Aug 4 04:54:16 EDT 2010


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?
> 



More information about the rt-users mailing list