Bulk-Action - Merge Tickets

Hello, our Agents did missing the feature to merge more than one Ticket at one time. So I did try to integrate the merge feature into the Bulk-Action. I attached two diffs which seems to make it possible, but only very simple and I think there should be some more checks. In AgentTicketBulk.pm I did for each Ticket a Ticket->Merge, if it fails it do an Notice(?). After the first merge I set a flag, so that a note would not be added twice. I think the Queue-Set is ok. The State-Set should be overwritte through Ticket-Merge. The unlock should also be ok. All works for us, are there some conditions which I did not mind? Also I don't understand how to report errors the right way, what happen if one merge fails -- I don't know how to test this. Regards, Alex PS: We are running OTRS 2.0.1 -- Alexander Koch, mailto: ak@ilk.net ILK Internet GmbH, Akademiestrasse 25 - 27, D-76133 Karlsruhe Tel: +49 (0) 721 9100 0, Fax: +49 (0) 721 9100 191 http://www.ilk.net
participants (1)
-
Alexander Koch