Hi all,

I've found it helpful to add support for inserting the ticket ID within the
signature and added the following snippet to
Kernel/Modules/AgentTicketCompose.pm:

Immediately after the following line:
$Data{$_} =~ s/<OTRS_USER_LOGIN>/$Self->{UserLogin}/g;

I added the following:
$Data{$_} =~ s/<OTRS_TICKET_ID>/$Ticket{TicketNumber}/g;
Full code:
 
       # replace other needed stuff
        $Data{$_} =~ s/<OTRS_FIRST_NAME>/$Self->{UserFirstname}/g;
        $Data{$_} =~ s/<OTRS_LAST_NAME>/$Self->{UserLastname}/g;
        $Data{$_} =~ s/<OTRS_USER_ID>/$Self->{UserID}/g;
        $Data{$_} =~ s/<OTRS_USER_LOGIN>/$Self->{UserLogin}/g;
        $Data{$_} =~ s/<OTRS_TICKET_ID>/$Ticket{TicketNumber}/g;


--
Saludos,
Gustavo Azambuja
Linux User: 275813

-----------------------------
Este mensaje no contiene virus, porque ha sido creado con Linux, utilizando Software Libre y auditable.
This message doesn't contain viruses, because it has been created with Linux, using auditable Free Software.
http://es.wikipedia.org/wiki/Linux_No_Virus_Mail
-----------------------------