This routine is available starting with Power Scripts™ 4.0.0 (server).
Retrieves a structure containing information about a version that has been deleted.
A JVersion value containing the component data.
logPrint("INFO", "Result of listener: " + getFixVersionSwappedToFromEvent());
The result is a structure containing the version id, name, description; the project key of the version, start date, release date, and if the version is archieved or released.