Hi,
we have 5 alias E-Mails running into one JIRA project. We’ve set all those Emails in “Catch E-Mail Address”. Now we would like to see for each issue in a certain field to which Address an Email was sent.
I’ve looked around a little bit for an answer and found that “project mapping” could do this. But like in this case: https://community.atlassian.com/t5/Jira-Core-questions/JEMH-Field-based-on-catch-mail-address/qaq-p/264738 it works through domain mapping – which is in my opinion not available in our JEMH Version 2.2.26. When I go to Profiles -> Configure -> Project and “Mapping” only “Issue Attributes”, “Groups”, “Issue Security”, “Attachment Filters”, “Custom Field Defaults” and “Workflow” are available. So I tried to set up “Custom Field Defaults” for the Recipient Mail Address with a Velocity Scripted Value but I don’t know if this is the right way or what Value should be set to get the particular Mail Address to which the Mail was sent.
Thank you for your support!
Hi,
Domain rules are available on your version (and pretty much every other one!). Please see the wiki for information on how to use it: How to use Project Mappings
You can use domain rules (that are looking at the "addressee" address) to set static custom field values. This is the easiest way to achieve what you are looking for.
If you cannot see the "domain rules" section, make sure you are looking at a non-default project mapping.
Thank you very much, the project was set to "default" instead of "non default"; now I can see the domain rules section!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For anyone who's interested: This velocity scripted value shows the receiver email addresses:
#foreach ($recipient in $message.getHeader("To"))
$recipient
#end
Does anybody know if there's a possibilty that the receiver is only shown with one email address? Because in the new created field the receiver mail address is shown twice:
"name@domain.com" <name@domain.com>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.