/
attachAllFilesFromEmail
attachAllFilesFromEmail
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Description
Attaches all attachments from the incoming email to a specific issue.
Parameters
Return Type
Number
Attaches all attachments from the incoming email to a specific issue.
Example
IncomingEmail email = getIncomingEmail();
string issueKey = matchText(email.subject, "[A-Z][A-Z]+-[0-9]+"); // find an issue key in the subject
if(isNotNull(issueKey)) {
attachAllFilesFromEmail(issueKey);
}
See also
Peacock
, multiple selections available,
Related content
attachAllFilesFromEmail
attachAllFilesFromEmail
More like this
attachAllFilesFromEmail
attachAllFilesFromEmail
More like this
attachFileFromEmail
attachFileFromEmail
More like this
attachFileFromEmail
attachFileFromEmail
More like this
attachFileFromEmail
attachFileFromEmail
More like this
Mail Handler
Mail Handler
More like this