urlDecode

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Syntax

urlDecode(textToDecode)

Description

Decodes text from URL format. This is useful when parsing a URL address used by a REST command.

Parameters

Parameter name

Type

Required

Description

textToDecode

string

Yes

Text to decode from URL format.

Return type

String

Returns the input text URL format

Example

string url = "https://marketplace.atlassian.com/search?query=power%20scripts";
string product = substring(url, indexOf(url, "=") +1, length(url));

return urlDecode(product);

Returns "power scripts"

See also