note

The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

Syntax

getFixVersionSwappedToFromEvent()

Package

Alias

Pkg Usage

Description

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

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

Parameters

Parameter name

Type

Required

Description

Return Type

JVersion

Example

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.

See also

defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock704bcb1c-c085-4648-b825-dd561bd95f81ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockb93793be-dbc4-4c70-8c79-7e2e42ec4b81defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock704bcb1c-c085-4648-b825-dd561bd95f81ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockb93793be-dbc4-4c70-8c79-7e2e42ec4b81