Skip to end of banner
Go to start of banner

base64Encode

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!

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

  • No labels