Importing Tickets and Articles using the API

Hi Andreas,

This might help you:

Rails Console: Console — Zammad System Documentation documentation

Setting.set('import_mode', true)
Setting.set('system_init_done', false) 

You will have to set a date for the ticket as well as for the article. I had the same issue where I created tickets with a historical date but because I didn’t set that date for the article, the article was created with the current time and the ticket was listet as a recent ticket instead as an old ticket.

Regards,
Gijs

1 Like