Converting tickets to PDF files

Moderator: crythias

Post Reply
w3sp
Znuny newbie
Posts: 28
Joined: 21 Dec 2017, 19:30
Znuny Version: OTRS5

Converting tickets to PDF files

Post by w3sp »

Hi,

I'm using OTRS5 and need to write a program (preferably in C#) which creates PDF files for new tickets in a queue

I've already seen the Print button in OTRS itself which seems to call the action "AgentTicketPrint" which generates a pdf file for the current ticket on my Desktop.

How can I call the same function via a C# program? Do I need to create a perlscript or something, connect to the server via SSH and execute the script? Where will the pdf file land then?

Unfortunately I have zero experience with perl...

Thank you for any help or advice.

Cheers

w3sp

PS: Ideally this should also allow me to download the attachments as well.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Converting tickets to PDF files

Post by crythias »

This is a lot of redundancy, but since you want redundancy, just cc your OTRS tickets to a mailbox and handle the store/print as PDF that way. You won't get ticket numbers but it doesn't seem like you really want to use the ticketing system anyway.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply