getIncomingEmail
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Description
Retrieves a structure containing information about the incoming email such as sender, recipients, subject, or body.
Parameters
Return Type
Example
IncomingEmail email = getIncomingEmail();
if(email.from != "jira-support@kepler-rominfo.com") {
// create issue
}
See also
Peacock