[rt-users] onMerge template

Frederic Van De Velde frederic.vandevelde at paradigmo.com
Wed Apr 12 10:25:24 EDT 2006


Hi,

I wanted to notify the requestor when a ticket merge occurs.
I have created a user defined scrips action that only trigger my 
template when a merge occurs
(as described on http://wiki.bestpractical.com/index.cgi?OnMerge)

This works perfectly but I have problems defining what to report in my 
template.
I want to include the subject of the ticket getting merge into the new 
one, is it possible ?

Example:

Subject: {$MergedTicket->Subject} - merged into #{$Ticket->Id}

Dear {$Ticket->CreatorObj->RealName},

This is to notify you that your ticket:
   
  #{$Transaction->ObjectId} - {$MergedTicket->Subject}

has been merged into ticket:

  #{$Ticket->Id} - {$Ticket->Subject}




Any idea on how to retrieve the merged ticket subject ?

Regards,
Frederic.



More information about the rt-users mailing list