
4 Jul
2007
4 Jul
'07
2:51 p.m.
Hi,
I'm trying to generate a PDF file for each Ticket that are in state "closed"
Is There any way to use http://myotrs.com/otrs/index.pl? Action=AgentTicketPrint&TicketID=[ID_NUMBER] to get and store the PDF file without using webinterface ?
For information i've found an ugly solution by using "curl" curl -L -d "Lang=fr&User=$agentuser&Password=agentpassword&Action=Login" "https://myotrs.com/otrs/index.pl? Action=AgentTicketPrint&TicketID=$ticketid" -o $ticketnumber.pdf Damien BASTIE