I'm in agreement with EXG133.
The original request seemed simple enough but now you've changed the parameters to be merge all tickets to one for multiple individual customers.
jester wrote:I want to merge tickets from one customer into one. For example, all tickets from CustomerA during this period should be merged into single ticket, all tickets from CustomerB should be merged into TicketB, etc.
Which, so far, yes...
jester wrote:I can't set specific customer in search because we have a lot of them during target period.
New information...
So, basically
$result= search tickets in date range
@hugeCustomerList = distinct customer_id from $results;
For $customer in @hugeCustomerList {
@result = search for LargeNumberOfTickets from $customer in date range;
merge tickets[@result] to oldest(?);
}
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please
edit your signature to include your
OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask