The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
Table plus | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
Code Block |
---|
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);
} |
...