How to create a ticket with an application in RT using REST

Does anyone know how to create a ticket with an attachment to RT (Request Tracker) using the REST service with a PHP script?

+3
source share
2 answers

remove "attachment_1: /tmp/img2.PNG" add a POST variable using addPostFile () with the name "attachment_1", which contains the raw attachment.

+1
source

If you use HTTP_Request, addFile () function instead of addPostFile (). - He worked for me.

0
source

Source: https://habr.com/ru/post/1795053/


All Articles