Scrip to attach a file to the ticket

Anyone have an example of how to add an attachment to a ticket via a scrip?

The file is on the local file system to RT.

The use is to attach a PDF letter to the ticket in certain circumstances. Another use is to attach a circuit design drawing…

tia-

Jason Maderios

Hi.

Attachments are tied to transactions, so you have to create one anyway,
start looking from Comment method on RT::Ticket.03.07.2010 0:21 пользователь “Jason Maderios” jmaderios@kpu.net написал:

Anyone have an example of how to add an attachment to a ticket via a scrip?

The file is on the local file system to RT.

The use is to attach a PDF letter to the ticket in certain circumstances.
Another use is to attach a circuit design drawing…

tia-

Jason Maderios

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com