Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titletododone

Style guide

Status
colourGreen
titletododone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns the name of the earliest unreleased version in the current issue's project version.

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourRed
titleneeds lookup




UI Text Box
sizemedium
typeinfo

This function returns the name of the earliest unreleased version  version in the current issue's project. This can also be an archived version!


Code Block
languagebash
titleSyntax
linenumberstrue
earliestUnreleasedVersion() #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
earliestUnreleasedVersion() not in archivedVersions()


This example validates that the earliest unreleased version in the current issue's project is not archived.

To achieve this the following functions are used



Parameters used in this function

UI Expand
titleAdditional information
ParameterInput (data type)Description
xxx
Status
subtletrue
titledata type
Parameter description.
UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext




UI Text Box
sizemedium
typeinfo

Variant where you additionally define projects.Returned versions may be either released or unreleased. Arguments projects is a comma-separated list of project keys or project names.


Code Block
languagebash
titleSyntax
linenumberstrue
earliestUnreleasedVersion(string projects) #Output: Text


UI Expand
titleExamples

See Versions for examples.


Parameter description
UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxx
projects

Status
subtletrue
title

data type

text

Text including valid project keys or names in a comma-separated list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext