getVersionFromEvent
Availability
This routine is available starting with Power Scripts™ 4.0.0 (server).
Syntax
getVersionFromEvent()
Description
Retrieves a structure containing information about a version that has been archived, created, released, unarchived, unreleased, moved or merged.
Return value
A JVersion value containing the component data.
Example
logPrint("INFO", "Result of listener: " + getVersionFromEvent());
The result is a structure containing version id, name, description, project key of the version, start date and release dates, and information about whether the version is archieved or released.Â
See also