On this page

JWT is a number specialist!

Numbers can be provided as fixed values - or literals - in the format described in the table below or they can be retrieved by using field codes.

Fixed values

Numbers can be added to any expression as fixed values.

InputExample
Valid numerical values
  • 1
  • 3.141592
  • .5
  • -400
  • -1.1 
  • -.02

Variable values (field values)

Numeric values of NUMBER data type fields can be inserted in any expression as number field codes using the following notation {...somenumberfield} - e.g {issue.votes}.

The most common use cases for calculating with numbers are in fact related to dates and times, since these timestamps are internally represented as numbers.

Mathematical functions

JWT is very powerful when it comes to numbers and calculations. It offers a wide range of mathematical functions to be used in a parser expression.

Besides the functions listed below, JWT offers the common arithmetical operators:

  • Number1 +  Number2 : adding two nunbers
  • Number1  -  Number2 : subtracting Numberfrom Number1
  • Number1  *  Number2 : multiplying two numbers
  • Number1  /  Number2 : dividing Numberby Number2

Available functions


If you still have questions, feel free to refer to our support team.