I am trying to create a ticket with attachment thru the Perl APIs.

I don't see a method in the RT::Ticket API for adding attachment during ticket 
creation.

When looking at the RT::Attachment API it says "This module should never be 
instantiated directly by client code. it's an internal module which should only 
be instantiated through exported APIs".

So wondering how I can create a ticket with attachment.


If any one have a few of lines of sample code that will be appreciated.
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA — October 18 & 19, 2011
*  Washington DC, USA — October 31 & November 1, 2011
*  Barcelona, Spain — November 28 & 29, 2011

Reply via email to