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<Short, generic description of the parser function(s) (if multiple parameters are available)
Output

Status
subtletrue
titletext

Status
subtletrue
titlenumber

Status
subtletrue
titleboolean
Status
subtletrue
titlenumber list
Status
subtletrue
titletext list
Status
subtletrue
titleissue list




UI Text Box
sizemedium
typeinfo

Detailed description of the parser function.



Code Block
languagebash
titleSyntax
linenumberstrue
function(firstParameter, secondParameter, thirdParameter) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
timeInValue(%{issue.summary}, ^% ~~ "ERROR" OR ^% ~~ "WARNING") / {HOUR}


This example returns the number of hours the field summary of the current issue contained any of the words "ERROR" or "WARNING", ignoring the case.


Code Block
languagebash
linenumberstrue
timeInValue(%{issue.components}, count(toStringList(^%, ",")) > 1) / {HOUR}


This example returns the number of hours the field components of the current issue contained more than one selected component.

Info

This example uses the functions:




UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
firstParameter

Status
subtletrue
titlenumber

The input has to be a valid timestamp...
secondParameter

Status
subtletrue
titlestring list

Parameter description. Read more about Working with lists

thirdParameter

Status
subtletrue
titletext

Parameter description.



UI Expand
titleOutput

The function returns a

Status
subtletrue
titlenumber


UI Text Box
typetip

If there is more to say, say it or link to related functions...

Are you looking for a more detailed representation? You might want to have a look at the function formatDuration()...