Skip to main content
Skip table of contents

DECODE_HTML

The DECODE_HTML function is used to decode HTML encoded strings for a given JSONPath.

Usable: Value Fields, Context Filter

Syntax: { DECODE_HTML((PARAM_1)) }

Parameter

Type

Examples

Description

PARAM_1

JSONPath

$.value

$.issue.fields.customfield_X

The JSONPath expression representing the value that should be decoded

Value Field Example

For example, consider the following data source JSON:

CODE
{
  "value": "100 €"
}

Use the DECODE_HTML function to decode all HTML encoded elements

CODE
{ DECODE_HTML(($.value)) }

This will result in 100 €

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.