Versions Compared

Key

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

...

Code Block
var newResultMap = jemhUtils.createResultSet();
newResultMap.put("issueKey", "COREONE-29");

...

Create Issues for each Catch Email address
Status
colourGreen
titleSince 3.4.11, 4.0.17, 4.1.8

Scenario

You may want to create multiple issues from a single email based on the email recipients. For example, a customer might CC another email address within your organisation specific to a different Jira Project. In this case, one email should create two issues, one for each recipient.

Implementation

...

The jemhUtils class can be used to create a list of Result Maps for each Catch Email address match in the email. This is specific to the Profile the script is used in. Please see the following example:

...