Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

from

String

No

From address

to

string []

Yes

Recipient list

cc

string []

No

CC'ed recipient list

subject

String

Yes

Subject

body_or_template

String

Yes

Message body, either direct or a template

language

String

No

Language used to send the email(relevant only if you use templates)

issue_key

String

No

Issue to extract attachments from

regex_array

String []

No

Name patterns to match the attachments from the issue

wildcard_path_array

String []

No

Absolute paths containing wildcards for attaching files from disk

Return Type

Predefined Structure Types

Examples

Example 1

Code Block
languagejs
sendEmail("projectmanager", "teamleader1", "Transition executed", currentUser() + " has executed a transition");
// here we have to, cc, subject and body.
// The from and language parameters were omitted.

...