[rt-devel] cmd line ticket creation
Dale Bewley
dale at bewley.net
Thu Apr 19 23:17:15 EDT 2001
On Thu, 19 Apr 2001, Jesse wrote:
> On Thu, Apr 19, 2001 at 11:30:40AM -0700, Dale Bewley wrote:
> > 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....
Awesome. That will work dandy. Thanks.
> > 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 :/
OK. Can you possibly rename files to .txt or drop in a .htaccess
with 'AddType text/plain .README' in it. *nudge nudge* ;)
--
Dale Bewley - Bewley Internet Solutions Inc. http://bewley.net/
More information about the Rt-devel
mailing list