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 value stored in a numeric variable named variable_name, which was previously created using the setNumber() function.

Output Statussubtletruetitlenumber UI Text Box
sizemedium
typeinfo

The This function returns the value stored in a numeric variable named variable_name number variable, which was previously created using created using the setNumber() function function.


Code Block
languagebash
titleSyntax
linenumberstrue
getNumber(text variable_namevariableName) #Output: Number


UI Expand
titleExamples


Expression parserDescription


Code Block
languagebash
linenumberstrue
getNumber("myNumber")
The function


This example returns the value stored in the variable named "myNumber", e.g.:

3



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>variableName

Status
subtletrue
titledata typetext

The name of the stored variableParameter description.



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titlenumber


UI Text Box
typetip

To return the value you must have created the variable before, using the setNumber() function within the same expression.



Image AddedUse cases and examples

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


Page properties
hiddentrue
id1


Parser function cloud
Map(question)
Notes

Workaround

It would be the same as the one for getBoolean(), but in the variable we would store an issue list.




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

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



Page properties
hiddentrue


Short description

Returns a value stored in a number variable.

Output

Status
subtletrue
titlenumber

Available since

Status
subtletrue
colourBlue
title2.6.0

Label