[rt-users] Creating attachments during ticket creation with REST (4.0.2)

Kevin Falcone falcone at bestpractical.com
Fri Oct 14 17:48:51 EDT 2011

On Fri, Oct 14, 2011 at 08:45:50PM +0000, Srikumar Nair wrote:
>    I am trying to add an attachment as part of the ticket creation with REST (in 4.0.2)
>    Following is my input:
>    Requestor: johnt
>    Subject: 'test ticket'
>    Queue: 'General'
>    Attachment: /var/log/test.pdf
>    Ticket gets created but no attachment  and I get the error
>    RT/4.0.2 409 Syntax Error
>    # Ticket 6 created.
>    # attachment: Unknown field.
>    What is the input to create ticket with attachments? Does anyone know?

The REST interface only supports commenting or corresponding with
attachments, not creating.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111014/ccaf36e7/attachment.sig>

More information about the rt-users mailing list