We've done several mergers and acquisitions. As a result, we have end users with external IDs, who are also Staff and missing their external IDs.
The end result I need is for that Staff user to have the external ID associated with it, merged with the End user account, without losing all the tickets they have assigned to them.
I've written some API code that I've been using for merging end users.
My idea was to add the ability to get the tickets related to the Staff person, hold them in an array, set the Staff person back to an end user, merge the two users, set the merged account that now has an external ID back to Staff and reassign the tickets.
This is a must-do task for us, and I have several agents in this situation.
What could possibly go wrong?