[rt-devel] cmd line ticket creation

Jesse jesse at fsck.com
Thu Apr 19 22:44:11 EDT 2001



On Thu, Apr 19, 2001 at 11:30:40AM -0700, Dale Bewley wrote:
> I'm using RT 1.0.6
> 
> I looked thru the contrib dir and I don't see what I'm looking for.
> 
> I'm building a php app that takes an order and manipulates data in our
> database. At the same time I need to create a ticket for the provisioning
> group and place that ticket number in the db with the order.
> 
> So, I need a way to create that ticket and get the number back.

RT2 cleans this up a lot. the CLI ticket create can be done non-interactively
(though it's not fully functional in 1.3.70)

For now, I'd actually recommend doing a shell escape and calling the mail 
gateway in --extended mode. it has a flag that will return the ticket id
of the ticket which was created....
 
 
> p.s. www.fsck.com apparently has it's default data type set to text/html.
> Can you change that to text/plain? Documents like this are really
> difficult to read:
>  http://www.fsck.com/pub/rt/contrib/xrts-0.1.tar.gz.README

Setting the default type to text/plain makes a bunch of other higher-priority
stuff break :/

> 
> --
> Dale Bewley - Bewley Internet Solutions Inc. http://bewley.net/
> 
> 
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

"If IBM _wanted_ to make clones, we could make them cheaper and faster than
anyone else!"  - An IBM Rep. visiting Vassar College's Comp Sci Department.




More information about the Rt-devel mailing list