You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-11-12 01:52:39

LetTheRainFall
Member
Registered: 2020-11-12
Posts: 1

Exporting filter "all pages to csv" automatically via script.

Hello Everyone,

Im currently looking into being able to download - export my saved filter of all closed tickets each month as csv at the beginning of every month.

I would like to automate this task so that the csv can be downloaded via a script with a scheduled cron so that I can then feed the reporting software with this csv.

Is this possible? Would really appreciate the help.

Thanks!

Offline

#2 2023-05-10 21:55:52

lexcyr
Member
Registered: 2022-12-02
Posts: 8

Re: Exporting filter "all pages to csv" automatically via script.

Hello @LetTherainFall,

have you found a solution to auto download your view.
i have the same need but for assets instead of tickets.

Thanks!

Offline

#3 2023-05-15 12:29:16

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Exporting filter "all pages to csv" automatically via script.

You cannot automate the export function unless you find a way to have a session using the script. You would have to use the API instead and convert the JSON results to a CSV.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB