Das persönliche Profil (https://zivgitlab.uni-muenster.de/USERID) wurde für alle Nutzer administrativ auf "privat" gesetzt. Wenn sie möchten, dass dieses wieder für alle internen Nutzer sichtbar wird, deaktivieren sie bitte das "private profile" unter den persönlichen Einstellungen (https://zivgitlab.uni-muenster.de/-/profile).

README.md 1.4 KB
Newer Older
1
# ExportTicketsToPDF - A Plugin for OTRS
mtimm_01's avatar
mtimm_01 committed
2

mtimm_01's avatar
mtimm_01 committed
3 4
## What this plugin does

5
OTRS by itself is able to print single tickets to single pdf files. This plugin uses this function to export all tickets of a queue into separated files for each ticket. Additionally the attachments will be stored in separate files having the same name prefix like the exported ticket itself and the original file name of the attachment.
6

mtimm_01's avatar
mtimm_01 committed
7 8 9

## Installation

10 11
To install this plugin you just need to build the OPM file from the sources in this repository. [Package Build](https://otrs.github.io/doc/manual/developer/5.0/en/html/package-building.html#package-build "Documentation") After that you can simply install the OPM file using the package manager in your admin menu or the command line.

mtimm_01's avatar
mtimm_01 committed
12 13 14

## How it works

15
To export the tickets of a queue you need to use the command line. The otrs.Console will offer you the new option `Admin::Queue::TicketExport` which is the plugin. You can use the following arguments:
mtimm_01's avatar
mtimm_01 committed
16 17

 * `queue`: Name of the queue whose tickets should be printed
18 19
 * `filename`: Name of the new pdf document

20 21
If you wish to export the attachments of the queues tickets, you can use the option `a`.

22
Keep in mind that only the requested queue will be exported. SubQueues will be ignored, but you can use something like `Queue::SubQueue`.
23
Exporting all queues could take a while. We needed 23 hours to export about 40.000 tickets (~11G) without attachments.