Hi, we're currently evaluating JEMH and I have the following requirement for establishing a service desk on Jira+JEMH: a user who created an issue via submitting an email should receive an issue created notification no matter if he/she set "don't notify on my updates" option in user's profile. From address in the issue created email should be as set in at the project leve.
This is quite possible with JEMH. However, in the issue created notification it sets From address as the global JIRA from email, not the one set in the project.
I've tried to play with settings:
"Custom From: email address" - works but this mean I can't use project mapping for profiles since other projects will have different from emails set.
"Custom From: email name part" - doesn't work in this case (I set it as $issue.getProjectObject().getEmail()) it still uses JIRA global from email address. Is there way to use project mapping in JEMH profile and fulfill the requirements?
If you have a project mail address set, JEMH should use it, however:
This is quite possible with JEMH. However, in the issue created notification it sets From address as the global JIRA from email, not the one set in the project.
Your mail server will usually restrict what the 'from' address of outbound mail can be. Try validating your expectations by talking to your mailsever with telnet:
You'll likely need to talk to your mailserver admin, to enable your mail host to allow your connecting mail account to be able send mail 'from' another user, effectively.
Event Listener > Project Mappings in current releases have more capabilities, enabling them to be driven from issue custom fields as well. However, your primary problem will likely remain, with solution as outlined above.
Andy
Your mail server will usually restrict what the 'from' address of outbound mail can be. Try validating your expectations by talking to your mailsever with telnet:
The thing is that SMPT allows these custom from email address. I don't think this related to SMTP itself.
My question is why issue created notification is sent using "From" as set in JIRA global "from email address" instead of project's one? Please note, I don't use project mapping at the moment, I attached profile to the project using "Fall-back Project" option. Maybe this is the root cause?
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.