On this page you find templates which can be used in sumUp configuration rules to change the output format of computed values.

The Velocity Context is initialized with the following content:

$valuejava.lang.BigDecimalThe computed value.


A helper class to format numeric values.
$jiraDateTimeUtilsinternalA helper class which has one function:
getTimeFormatedString(long value).

This function formats timespan according to the time configuration in JIRA.



JavaSimpleDate format with format ("EEE, d MMM yyyy h:mm a")

Default Format


Hours Format

(info) Assumes that the value is in seconds.

#set($H = '#')
#set($v = $value.doubleValue()/3600.0)

Jira Timespan Format

(info) Assumes that the value is in seconds.


On this page