Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 1.1.0


Excerpt

Overview

The expression parser offers multiple functions to retrieve version related field values.

Available functions

Function

Input

Returned value

unreleasedVersions()

Returns a 

Status
subtletrue
colourYellow
titleString []
with unreleased version names of current issue's project. Returned versions may be archived. 
Example: toStringList(%{...versions}) any in unreleasedVersions() validates that at least one affected version is unreleased.

unreleasedVersions(string projects)

Status
colourYellow
titleString

Returns a 

Status
subtletrue
colourYellow
titleString []
with unreleased version names of projects in argument projects. Returned versions may be archived. Arguments projects is a comma separated list of project keys or project names.

releasedVersions()

Returns a 

Status
subtletrue
colourYellow
titleString []
with released version names of current issue's project. Returned versions may be archived. 
Example: toStringList(%{...fixVersions}) in releasedVersions() validates that all fixed versions are released.

releasedVersions(string projects)

Status
colourYellow
titleString

Returns a 

Status
subtletrue
colourYellow
titleString []
with released version names of projects in argument projects. Returned versions may be archived. Arguments projects is a comma separated list of project keys or project names. 
Example: toStringList(^%{...fixVersions}) in releasedVersions(^%{...projectKey})validates that all fixed versions of a foreign issue are released.

releaseDates(string versions)

Status
colourYellow
titleString

Returns a 

Status
subtletrue
colourBlue
titlenumber []
with the release dates for versions in string versions for current issues project. Parameter versions is a comma separated list of version names. 
Example: releaseDates(%{...fixVersions}) returns the list of release dates for Fix Version/s. 

releaseDates(string versions, string projects)

Status
colourYellow
titleString

Returns a

Status
subtletrue
colourBlue
titlenumber []
with the release dates for versions in string versions for projects in parameter projects. Parameter versions is a comma separated list of version names. Parameter projects is a comma separated list of project keys or project names. 
Example: releaseDates(%{...versions}, "CRM") returns the list of release dates for affected versions for project with key "CRM". .

startDates(string versions)

Status
colourYellow
titleString

Returns a 

Status
subtletrue
colourBlue
titlenumber []
with the start dates for versions in string versions for current issues project. Parameter versions is a comma separated list of version names.

Example:  startDates(%{...fixVersions})  returns the list of start dates for fixed versions. 

startDates(string versions, string projects)

Status
colourYellow
titleString

Returns a 

Status
subtletrue
colourBlue
titlenumber []
with the start dates for versions in string versions for projects in parameter projects. Parameter versions is a comma separated list of version names. Parameter projects is a comma separated list of project keys or project names.

Example:  startDates(%{...versions}, "CRM")  returns the list of start dates for affected versions for project with key " CRM ". 

archivedVersions()

Returns a 

Status
subtletrue
colourYellow
titleString []
with released version names of current issue's project. Returned versions may be archived.

archivedVersions(string projects)

Status
colourYellow
titleString

Returns a 

Status
subtletrue
colourYellow
titleString []
with released version names of projects in argument projects. Returned versions may either released or unreleased. Arguments projects is a comma separated list of project keys or project names.

latestReleasedVersion()

Returns 

Status
colourYellow
titleString
with the name of the latest released version in current issue's project. 
Example: latestReleasedVersion() in archivedVersions() validates that the latest released version in current issue's project is archived.

latestReleasedVersion(string projects)

Status
colourYellow
titleString

Returns 

Status
subtletrue
colourYellow
titleString []
with the name of the latest released version among projects in argument projects.

Returned versions may either released or unreleased. Arguments projects is a comma separated list of project keys or project names.

latestReleasedUnarchivedVersion(string projects)

Status
colourYellow
titleString

Returns 

Status
subtletrue
colourYellow
titleString []
with the name of the latest released version excluding archived ones for projects in argument projects. Returned versions may either released or unreleased. Arguments projects is a comma separated list of project keys or project names.

earliestUnreleasedVersion()

Returns 

Status
colourYellow
titleString
with the name of the earliest unreleased version in current issue's project. 
Example: earliestUnreleasedVersion() not in archivedVersions() validates that earliest unreleased version in current issue's project is not archived.

earliestUnreleasedVersion(string projects)

Status
colourYellow
titleString

Returns 

Status
subtletrue
colourYellow
titleString []
with the name of the earliest unreleased version among projects in argument projects. Returned versions may either released or unreleased. Arguments projects is a comma separated list of project keys or project names.

earliestUnreleasedUnarchivedVersion()

Returns 

Status
colourYellow
titleString
with the name of the earliest unreleased version in current issue's project excluding archived ones.

earliestUnreleasedUnarchivedVersion(string projects)

Status
colourYellow
titleString

Returns 

Status
subtletrue
colourYellow
titleString []
 with the name of the earliest unreleased version excluding archived ones for projects in argument projects. Returned versions may either released or unreleased. Arguments projects is a comma separated list of project keys or project names.

unreleasedVersionsBySequence()

Available since version 1.1.0


Returns a

Status
subtletrue
colourYellow
titlestring []
 with the unreleased versions in the current project with the default order. Only non-archived versions are returned. The first version in the list is the lowermost version in the version table.

releasedVersionsBySequence()

Available since version 1.1.0


Returns a

Status
subtletrue
colourYellow
titlestring []
 with the released versions in the current project with the default order. Only non-archived versions are returned. The first version in the list is the lowermost version in the version table.




Div
styleline-height: 150%;
idtocContainer
classtocContainer


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel3
minLevel2
indent20px
classp