[Rt-devel] REST: should retrieving a particular attachment require a ticket number?

Philip Kime pkime at Shopzilla.com
Mon Sep 4 22:19:50 EDT 2006


Actually, on further investigation, it seems that there is no public API
call to add attachments to a ticket - it's done inside a ->comment or
->correspond. You can add attachments on ticket create but this isn't
allowed in the REST API. I may look at addressing this so the "-a" flag
can be used on ticket creation?

PK 

-----Original Message-----
From: Jesse Vincent [mailto:jesse at bestpractical.com] 
Sent: 04 September 2006 17:08
To: Philip Kime
Cc: Jesse Vincent; rt-devel at lists.bestpractical.com
Subject: Re: [Rt-devel] REST: should retrieving a particular attachment
require a ticket number?



> as I'm not
> > comfortable adding history-modifiying tools like that to RT.
> 
> Me neither. It's just I wanted to be able to attach things to tickets 
> without having to do it via the "comment" command as this sends mail.
> Altering attachments is too dangerous, I agree. Changing the 
> attachment or adding them should be logged in the history as usual. 
> Maybe an "attach" command for tickets is the way to go - like comment 
> but without actually commenting?

Does it not actually create a correspond or comment transaction?


-- 


More information about the Rt-devel mailing list