[otrs] AgentTicketPrint using command line ?
Damien BASTIE
damien at merione.net
Wed Jul 4 16:51:55 GMT 2007
> 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
More information about the otrs
mailing list