[rt-users] create attachment by using skript

Tom Lahti toml at bitstatement.net
Thu Mar 26 13:11:03 EDT 2009


Tariq Doukkali wrote:
> Hello all,
> 
> I want create a new comment WITH ATTACHMENT to an EXISTING TICKET by using a script (Bash, php, perl ....).
> 
> How can I do that????
> 
>  A solution by using bash will be perfect !!!

That's what rt command line is for.  It should be $RTHOME/bin/rt

/opt/rt/bin/rt comment ticket/123 -a /some/dir/file.txt

-- ============================
   Tom Lahti
   BIT Statement LLC

   http://www.bitstatement.net/
-- ============================





More information about the rt-users mailing list