JIRA Outgoing email address based on project?

I've configured JIRA to use a different inbound email address for each project:

ABC@mycompany.com

QRS@mycompany.com

These email "addresses" are really aliases that point to the same email box.

Question: when email is sent from JIRA for issues in the "QRS" project, is it possible to have the "from" email address be "QRS@mycompany.com"? (And same for the "ABC" project... is it possible to have email sent from "ABC@mycompany.com"?)

Thanks!
--

Nathan

4 answers

1 accepted

Hello,

This is possible, go to Administration for your ABC project. Goto Notifications in the menu on the left. You can set a "reply-to" email address that will be used as from address.

This is in 6.1. In other version the menu structure for the admin portal might be slightly different.

Valentijn

While I've edited the address to reflect the AD address we would like to use, it's still using our default outgoing smtp address.

We're in v. 7.2.7 and I'm looking to do the same for one project. However, I'm not finding anything for setting a "reply-to" email address. Email.png

Im pretty sure the Catch Email feature is solely for matching addressee to correlate between a mail handler and a given address. Ive never seen catchemail values used in anything relating to outbound mail servers and...

JIRA has only one outbound mailserver. It is possible to set a different outbound email address at an API level, JEMH does this. But. The related smtp server is not obligated to use that address, and will either ignore it (gmail) or explode spectacularly (exchange) if you try this without jumping through the mail-server specific hoops in order to get this to work. Gmail requires two way link clicking to validate ownership of the other address, Exchange needs lots of clicks - not my field.

So, the answer to the question is that:

1. No you canot affect the outbound smtp address of your email as you describe using standard JIRA

2. You can affect the outbound smtp address of your email, as presented to your mailserver in a JEMH Per-Profile setting. Your mailserver must be configured to allow all your addresses, or be wide open (this is effectively allowing your JIRA to masquerade as anyone on the network - talk to your mail server admin, he will likely discourage this!)

3. You could write your own mail handler, but the mailserver issue still applies.

Thank you for the thorough answer... this is what I had expected (although I hoped for something else).

Thank you!

Hi Nathan,

You can use Catch Email Address feature for this. Refer to: https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email

Best Regards,

Steven

This only seems to be for incoming, not outgoing.

We use Google Apps and I got this working by:

1) Setting up a "catch all" GMail account, such as jira@company.com

2) Setup a "Groups" alias for ABC@company.com& QRS@company.comin GApps Admin......both forwarding to jira@company.com(make sure you set the proper permissions to your liking)

3) In JIRA, each project you can set the "Notification Scheme" email address to ABC@company.comfor one project and QRS@company.comfor another project.

4) Set your outgoing mail server with the credentials from jira@company.com...youmust also setup the alias' INSIDE of GMAIL for both ABC@company.comand QRS@company.comto allow GMail to send "from" that address - https://support.google.com/a/answer/33327?hl=en

5) You will now setup an incoming mail handler for each project all grabbing mail from the jira@company.comaddress and using a catch-all address to specify which mail goes where

That should be it. Notification emails should come from each projects specified email address, and all reply emails will be routed properly from User >> GMail >> JIRA >> Project

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 ...

3,335 views 14 20
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