getMergeToVersionFromEvent

Availability

This routine is available starting with Power Scripts™ 4.0.0 (server).

Syntax

getMergeToVersionFromEvent()

Description

Retrieves a structure containing information about a version that has been merged or deleted.

Return value

A JVersion value containing the component data.

Example

logPrint("INFO", "Result of listener: " + getMergeToVersionFromEvent());

The result is a structure containing version id, name, description; project key of the version, start and release dates, and if the version is archieved or released. 

See also