The STRIP_HTML function is used to remove all HTML for a given JSONPath value.

Usable: Value Fields, Context Filter

Syntax: { STRIP_HTML((PARAM_1)) }

Parameter

Type

Examples

Description

PARAM_1

JSONPath

$.value

$.issue.fields.customfield_X

The JSONPath expression representing the value that should be stripped off HTML

Value Field Example

For example, consider the following data source JSON:

{
  "value": "<p><b>title</b><br/>subtitle</p>"
}
CODE

Use the STRIP_HTML function remove all HTML elements and convert <br> tags into line breaks

{ STRIP_HTML(($.value)) }
CODE

This will result in title\nsubtitle