How to craft Transaction Link

Hi Everyone.

I was trying to mod default template 6 so that it would include the transaction # in the provided URL on comment notification but I need to find the reference for the tranactionID of the comment... I thought it would be as simple as:

{$RT::WebURL}Ticket/Display.html?id={$Ticket->id}#txn-{$Transaction->ObjectId}

but is the same are the ticket Id… Any hints? I’m about to go code diving to follow the objects to see where I can get the transaction Id otherwise…

TIA.

Michael Eraña, CISSP
Chief Technology Officer
PC Network, Inc.
cto@lanusa.com mailto:eranam@lanusa.com

Hi Everyone.

I was trying to mod default template 6 so that it would include the

transaction # in the provided URL on comment notification but I need to find
the reference for the tranactionID of the comment… I thought it would be
as simple as:

{$RT::WebURL}Ticket/Display.html?id={$Ticket->id}#txn-{$Transaction->ObjectId}
it’s {$Transaction->id} , each record has id method.

but is the same are the ticket Id… Any hints? I’m about to go code diving
to follow the objects to see where I can get the transaction Id otherwise…

TIA.

Michael Eraña, CISSP
Chief Technology Officer
PC Network, Inc.
cto@lanusa.com


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

We’re hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html

Best regards, Ruslan.