Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

titleAvailability

...

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

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getMergeToVersionFromEvent()

Package

Alias

Pkg Usage

Description

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

Return value

A JVersion value containing the component data.Retrieves a structure containing information about a version that has been merged or deleted.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

Return Type

JVersion

Example

Code Block
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

Filter by label (Content by label)
showLabelsfalse
max3525
showSpacefalse
cqllabel = "listener_routine" and space = currentSpace ( )
labelsjiraarray_comment_routineroutines