base64Encode
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
base64Encode(textToEncode)
Description
Encodes text in Base64. This is useful when transferring data like attaching a signature to the bottom of an email or storing images in a database.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
textToEncode | string | Yes | Text to encode in Base64. |
Return type
String
Returns the input text base64 encoded
Example
return base64Encode("Encode this text!");
Returns "RW5jb2RlIHRoaXMgdGV4dCE="
See also