Versions Compared

Key

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

Page properties
hiddentrue
Status
Tech review

Status
titletodo

Style guide

Status
titletodo

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

Page properties
hiddentrue
Short description

Returns the smallest value in a number list.

Output Statussubtletruetitlenumber UI Text Box
colorlight-cyan
sizemedium
typeiconinfo

The function returns the smallest value in a number list.


Code Block
languagebash
titleSyntax
linenumberstrue
min(listnumberList) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
%{min([1, 2, 5, 4, 3]) 

This example returns

1

Code Block
languagebash
linenumberstrue
 min(fieldValue({issue.estimate}, linkedIssues("is blocked by")))


This example returns the smallest remaining estimate (in minutes) among all blocking issues.

To achieve this, the following functions are used:

:

1



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
listnumberList

Status
subtletrue
titlenumber list

Any given number list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber


UI Text Box
typetip

Check out min(numbers) to compare two numeric values.



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_min" and space = currentSpace()


Page properties
hiddentrue


Short description

Returns the smallest value in a number list.

Output

Status
subtletrue
titlenumber