[rt-devel] Re: External form submission

Levon Ghazaryan levon at mail.desy.de
Tue Feb 17 17:46:23 EST 2004

I 've posted a while ago about the same issue,
my approach was writing a POST getawy and puting it into REST(optionaly
i guess this is the best solution and gives you enough freedom to
act without touching the database directly.

Peter Burkholder wrote:

> After I wrote this, I decided it should be too hard to submit tickets by
> email, and attach a custom header with the field of the requeston, e.g.:
> 	X-RT-MyRequestor:
> The problem I know have is that my custom scrip is executed after the
> initial "OnCreateAutoReply..." scrip.  RT seems to go through scrips in
> order of the "ID" field in the Scrips MySQL table.  Would I be getting
> myself in trouble by changing the ID fields directly in the database so they
> execute in the desired order?
> Thanks,
> Peter
> On Tue, Feb 17, 2004 at 01:29:55PM -0700, Peter Burkholder wrote:
>>Date: Tue, 17 Feb 2004 13:29:55 -0700
>>From: Peter Burkholder <peterb at ucar.edu>
>>To: rt-devel at lists.fsck.com
>>Subject: External form submission
>>User-Agent: Mutt/1.4.1i
>>I'm sure this has come up before, but I'm not coming upon the answer readily
>>What would be the easiest approach to creating an RT ticket from a form in a
>>completely separate Tomcat/JSP application?   I could just create a ticket
>>with an email message, but the requestor field wouldn't match the from.
>>Should I drop something in REST/1.0/NoAuth that takes a POST like
>>mail-gateway?  Does  RT::Interface::Email let me look at args other than
>>than $message, $queue, $action and $ticket?  Or should I use CLI instead?
>>Or am I missing a completely different way (rt-soap?).
>>Peter Burkholder, System Administrator
>>Digital Library for Earth System Education (DLESE® -- http://www.dlese.org)
>>peterb at ucar.edu
>>DLESE Program Center (DPC)                               ~~~  ~~  ~~~~   __o
>>UCAR/DPC, P.O. Box 3000       Ph) +1-303-497-2663      ~~~  ~~~~ ~~    _`\<,_
>>Boulder, CO 80307-3000        Fx) +1 303-497-8336 ~~~~ ~~~   ~~~~     (*)/ (*)
> --
> Peter Burkholder, System Administrator
> Digital Library for Earth System Education (DLESE® -- http://www.dlese.org)
> peterb at ucar.edu
> DLESE Program Center (DPC)                               ~~~  ~~  ~~~~   __o
> UCAR/DPC, P.O. Box 3000       Ph) +1-303-497-2663      ~~~  ~~~~ ~~    _`\<,_
> Boulder, CO 80307-3000        Fx) +1 303-497-8336 ~~~~ ~~~   ~~~~     (*)/ (*)
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-devel

More information about the Rt-devel mailing list