Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
typeflat
separatorpipe

currency([symbol])

The currency filter formats a number as a monetary amount. It takes the optional, symbol parameter The filter takes the currency symbol as a parameter, default being $.

For example:

{{ 100 | currency }} returns $100

{{ 3000 | currency("€") }} returns €3000£"("£

dump

The dump filter dumps an object as a JSON string into the template.

...

{{ issue.fields.fixVersions | join("," , "name") }} joins the names of the Fix Version/s, separated by commas. For example: 1,1.0,2.0

percent([decimals])

The percent filter formats a number as a percentage. It takes the optional, decimals parameter. The filter takes the currency symbol as a parameter, default being 0.

For example:

{{ 0.4512 | percentage }} returns 45%

{{ 0.4512 | percentage(2) }} returns 45.12%