getMergeToVersionFromEvent

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 merged or deleted.

Parameters

Return Type

JVersion

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

Peacock