[dev] create ticket from form / same as Email Ticket

Martin Edenhofer me at otrs.com
Thu Nov 8 09:21:32 GMT 2007


Hi Jo,

On Nov 8, 2007, at 3:32 AM, Jo Rhett wrote:

>>> Works, thanks!  What does 0 and 2 mean in this context?
>>
>> It only means, that the request should not create a ticket. It  
>> means, stop processing the ticket creation and force to show the  
>> phone/email mask again (with pre-filled attributes).
>
> I observed that behavior, and it works perfectly for us.
>
> What if I really wanted it to create a ticket, is there a way to do  
> that?  (without prompting the user...)


For a direct ticket creation you need to add more http-from  
attributes. The easiest way to find this out is to temporally move  
from "post" to "get" method in the AgentTicketEmail.dtl and submit  
something on the frontend. Then you will see all attributes (for  
example i guess StateID, PrirorityID, ... is missing).

Have fun! :)

  -Martin

-- 
((otrs)) :: OTRS AG :: Europaring 4 :: D - 94315 Straubing
   Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18
     http://www.otrs.com/ :: Communication with success!

Address of record: Bad Homburg
Local Court: Bad Homburg, HRB 10751
Tax number: 003/240/97521

Chairman: Burchard Steinbild
Chief Executive Officer: André Mindermann



More information about the dev mailing list