[rt-users] RT Ticket creation

Gene LeDuc gleduc at mail.sdsu.edu
Thu Jul 3 11:43:31 EDT 2008

The most common way I've seen this done (user data -> php form -> RT 
ticket) is to have php do a sanity check on the form data and then e-mail 
it to RT.  If you want the data shoved into custom fields, you can have an 
OnCreate scrip in RT do it and you never have to touch the database.


At 05:50 AM 7/3/2008, Caglar wrote:
>Hello everybody,
>      I have just started to develop a web application with RT. But I have 
> some problems
>that I couldn't solve . I will be so grateful to you, if anyone can help me.
>     I have a php form in which users enter an incident and submit it. 
> Then the app sends an
>email to the person in charge of the incident. I am storing the datas from 
>the form to the
>Tickets and Users tables in the RT's database in order to create a ticket 
>in RT. But the sad
>part is, when I login to the RT with my root account, I couldn't see the 
>ticket that PHP app
>created from the RT's web interface . Php form inserts the datas to the 
>database from the
>forms successfully. And my questions are:
>    * Why RT doesn't see the datas that I've inserted into the RT's database?
>    * How can I create a ticket outside the RT?
>    * Does RT needs to modify a file in order to create a new ticket?
>    * Can I use the RT's builtin ticket creation interface without 
> authentication?
>FYI: I am using RT 3.6.6 and Mysql 5.1, Apache 1.3.9 on FreeBSD.
>Ça lar Gülçehre
>Ça lar Gülçehre
>Tübitak Ulakbim
>BlackSea Interconnection
>Community help: http://wiki.bestpractical.com
>Commercial support: sales at bestpractical.com
>Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>Buy a copy at http://rtbook.bestpractical.com

Gene LeDuc, GSEC
Security Analyst
San Diego State University 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080703/7ad0c92e/attachment.htm>

More information about the rt-users mailing list