getOldVersionFromEvent
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Description
Retrieves a structure containing information about a version that has been updated.
Parameters
Return Type
Example
logPrint("INFO", "Result of listener: " + getOldVersionFromEvent());
The result is a structure containing the version id, name, description, project key of the version, start and release dates, and information on whether the version is archieved or released.
See also
Peacock