[otrs] Core.AJAX.FormUpdate problem

2016-03-23 Thread Finetti, Stefano
Hi, I'm trying to use some of the advanced features of Json/Ajax on OTRS 5. Basically I'd like to update the content of a form when changing the value of an element of the same form, like when you select a queue in a new ticket creation form. My code is here: [% WRAPPER JSOnDocumentComplete %] /

Re: [otrs] Core.AJAX.FormUpdate problem

2016-03-23 Thread Finetti, Stefano
After further investigating, I've noticed that Subaction is not passed to the .pm file when the event change() occur. Thus, the .pm file answer is not a Json answer and this triggers the parser error. What I don't understand is why FormUpdate does not send the Subaction param to the pm file...

[otrs] Ticket delete in OTRS 4 and OTRS 5

2016-03-23 Thread Úr Balázs
Hi, There is a command line tool in OTRS 4 for deleting tickets: otrs.TicketDelete.pl - delete tickets by number. Copyright (C) 2001-2016 OTRS AG, http://otrs.com/ Usage: otrs.TicketDelete.pl [options] Options are as follows: --help display this option help --T

Re: [otrs] Ticket delete in OTRS 4 and OTRS 5

2016-03-23 Thread Martin Gruner
Hello Ur, because those are »options« and not »positional arguments«. This allows to specify multiple TicketIDs and TicketNumbers on the same commandline. Martin Gruner Team Lead R&D OTRS AG Bahnhofplatz 1a 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Gesc