Versions Compared

Key

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

...

  • Profile > Project Mapping > Issue > Edit

...

Storing

...

This is all that's needed to store the lower cased smtp address:

Code Block
$matchingCatchEmailAddress

...

catch email address information in issues

Velocity reference

Description

Code Block
$catchEmailAddress

https://thepluginpeople.ngrok.io/app/static/javadoc/com/thepluginpeople/jemhod/api/IEmailAndPersonal.html

Contains the email address $catchEmailAddress.getEmailAddress() and (optionally) the personal $catchEmailAddress.getPersonal()

...

of the

...

catch email address found in the processed email

Code Block
$matchingRecipient

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html

Shorthand for $catchEmailAddress.getEmailAddress() (see above).

Code Block
$matchingCatchEmailAddress

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html

A string representing the configuration responsible for finding the catch email address. Depending on what was configured in the profile, this could be a static address or a regular expression.

When using this custom field value later (eg e.g. in templates):

Code Block
#if ( $!context.issue.fields.customfield_13900.value.asText() && $context.issue.fields.customfield_13900.value.asText().equalsIgnoreCase("inboundmailboxaddress@domain.com") )
matched
#else
didnt match
#end

...