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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

627 views 3 11
Read article

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