osTicket Version 1.9.8.1Is it possible to create a new ticket by interacting directly with the database?I'm writing a script that creates tickets for me when people purchase items in my online store.My online store sends me an email and my script stores email elements into variables and now I have two options:1. have the script open a new ticket the same way a human would2. have the script open a new ticket by placing the variables directly into the osTicket databaseI have access to the osTicket database. I am hosting it myself.

I would assume you could since everything is stored in the database and the files are not changed , however I could get complicated.

The easiest way to do this is just use the API .

I also would recommend to use the API.Take a look at this blog post from ntozier: http://tmib.net/using-osticket-1812-apiIt's dated, but nothing changed since 1.8.1.2 - so still works that way ;)

I think attachments changed... and using custom lists.  But I haven't had the time to sit down and figure out what the changes actually are.

Oops, looks like I missed that, so thank you for the update @[deleted] ;)

Write a Reply...