[rt-users] No subject of the ticket sent

Jesse Vincent jesse at bestpractical.com
Fri Nov 16 13:17:17 EST 2001


Your template is wrong.  you want 

	$Transaction->Subject || $Ticket->Subject || 'No subject'

On Fri, Nov 16, 2001 at 06:45:39PM +0100, Andrzej Bursztynski wrote:
> Hi,
> 
> I've upgraded from RT1 to 2.0.9pre5, today moved to 2.0.9 and we're 
> missing the subject of the ticket on mail.
> 
> When the ticket is created, the e-mail notification is sent correctly with the
> subject defined  with 'Transaction' template to AdminCC according to the Scrips
> rules. But this is the last time Subject is sent. Any further e-mail doesn't
> show subject, but 'No subject given' is displayed.
> 
> My 'Transaction' template (translated to Polish, same with the default
> template):
> 
> "{$Transaction->CreatedAsString}: Korespondencja dot zg³oszenia {$Ticket->id}.
> 
>  Transakcja: {$Transaction->Description}
>     Kolejka: {$Ticket->QueueObj->Name}
>     Subject: {$Transaction->Subject || "(No subject given)"}
>  W³a¶ciciel: {$Ticket->OwnerObj->Name}
> Zg³aszaj±cy: {$Ticket->Requestors->EmailsAsString()}
>        Stan: {$Ticket->Status}
>         URL: <URL: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id} >
> -------------------------------------------------------------------------
> {$Transaction->Content()}
> -------------------------------------------------------------------------"
> 
> Scrips:
> Global:
> OnCreate AutoreplyToRequestors with template Autoreply 
> OnCreate NotifyAdminCcs with template Transaction 
> OnResolve NotifyRequestors with template Resolved 
> 
> Queue:
> OnTransaction NotifyOwner with template Transaction 
> OnTransaction NotifyAdminCcs with template Transaction 
> OnCorrespond NotifyAdminCcs with template AdminCorrespondence 
> OnComment NotifyAdminCcsAsComment with template AdminComment
> 
> Looks like any transaction ( 'Comments added', 'Correspondence added', 'Status
> changed', 'FinalPriority changed' , 'Ticket xxx MergedInto ticket yyy', 'Given
> to', 'Taken by') but "Ticket created" causes subject to be null.
> 
> -- 
> K³aniam sie
> 
>  (ab)
> 
> -=====================Uwaga! Zmiana numerów telefonicznych=====================
> -= Andrzej Bursztynski, email: and at pse.pl tel +48-27-2221112 fax +48-27-2221209
> -= Polskie Sieci Elektroenergetyczne SA, 00-950 Warszawa, ul. Mysia 2, POLAND
> -=====================Uwaga! Zmiana numerów telefonicznych=====================
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list