Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 8
Info
titleAvailability

This routine is available starting with Power Scripts 4.0.0 (server).

Syntax

attachFileFromEmail(attachmentName, issueKey)

...

Excerpt

Attaches a single file from the incoming email to a specific specified issue.

Parameters

ParameterTypeRequiredDescription
attachmentNamestringYesThe name of the attachment from the incoming email.
Note that if there are multiple attachments with the same name, this will always attach the first one in the list.
issueKey

string

YesThe issue to attach the file to.


Return type

boolean

Returns "true" if file was successfully attached to issue and "false" otherwise.

...

Filter by label (Content by label)
showLabelsfalse
max4
showSpacefalse
cqllabel = "mail_handler_routines"
labelsjira_comment_routine