From email in issue created notifications seems to be not working in JEMH?

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
  • Custom From: email name part

"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?

1 answer

0 votes
Andy Brook Community Champion Sep 07, 2015

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?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot