Hello,

We are running osTicket 1.14. + "Attachments on the filesystem" (v0.3) plugin.

We use the JSON API to open tickets and it works fine when we attach files in "attachments" field.
The problem is that I have created a custom field to load files and I can't attach files from the API. I use the same syntax to "attachments" field but I don't have any file attached.
Even if I mark the custom field as required and I create a new ticket from the API, I don't have any error, but the file is not created in the filesystem.

One thing I have noticed is that if I attached more than one file on this custom field, I got files attached to this variable but not the right ones, they are files from my filesystem (in order of creation).

Any idea to solve this?


(As I said, if I change "anexo1" to "attachments" file is attached correctly)

(Using Insomnia and Python to test the API.)

Many thanks,
Santi

10 months later

Hello!! I have the same problem, have you been able to solve it? Greetings!

Write a Reply...