You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Detailed description of the parser function.

Syntax
function(firstParameter, secondParameter, thirdParameter) #Output: Number
Examples
Parser expressionDescription
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.

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.

This example uses the functions:

Additional information

Parameters used in this function

ParameterInput (data type)Description
firstParameter

NUMBER

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

STRING LIST

Parameter description. Read more about Working with lists

thirdParameter

TEXT

Parameter description.
Output

The function returns a NUMBER

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()...