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 highest value in a number list.

Output Statussubtletruetitlenumber UI Text Box
sizemedium
typeinfo
This function returns the highest value in a given number list.


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


UI Expand
titleExamples


Parser expressionDescription


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

This example returns

5

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


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

To achieve this, the following functions are used:

  • fieldValue()
  • :

    5

    linkedIssues()



    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 max(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_max" and space = currentSpace()


    Page properties
    hiddentrue


    Short description

    Returns the highest value in a number list.

    Output

    Status
    subtletrue
    titlenumber