Versions Compared

Key

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

This routine is available starting with katl-commons SIL Engine™ 1.0, changed in 1.1.14 for Jira 4.3.x / 4.4.x and 2.0.7 for Jira 5.x.

...

Starting with version 4.0, the engine automatically detects HTML or plain text messages.

Parameters

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_keystringnoIssue to extract attachments from
regex_arraystring []if issue_key is presentName patterns to match the attachments from the issue
wildcard_path_arraystring []noAbsolute paths containing wildcards for attaching files from disk

Alias

For historical reasons, this routine may be named 'sendEmailFrom'.

...

Note

If you would like to use templates for emails, see the Mail configuration page, as well as detailed explanations linked our template engine: SIL SIL™ Template language. Specifically, read Email templates page.

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "smtp_support"
labelssmtp_support