Create attachment by using skript

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 !!!

Many thanks in advanced !!!

Tariq

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/
– ============================