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

This widget could not be displayed.

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

This is a show stopper for us. We need emails from the service desk to come from the service desk and not be mashed with the rest of Jira. Internal SD tickets, External SD tickets, JIRA Bugs should all have separate reply to addresses. 

If i add the correct mail address to the notification scheme and its not aligned with smtp settings nothing is being send out.

This widget could not be displayed.

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!

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

578 views 25 15
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