One email account per JIRA instance or one per project?

In order to setup the outgoing and incoming email features, I am assuming that I would only need to have one email account per JIRA instance. Next, I would create mail handlers for each project to enable the "create a new issue or add a comment to an exisiting issue" feature?

Just making sure I'm on the right track.....I don't have to create an email account for each project, right?

3 answers

1 accepted

0 vote

Yes and no.

You need one email account per project that you want to *create* issues in. It doesn't quite work the way I'm about to describe, but it's easier to see what it's doing this way:

  • Jira gets email
  • Jira reads the subject line
  • If it finds an issue reference in the subject, it will convert the email to a comment (as long as the sender has permission to comment), and stop processing it
  • If it can not find an issue reference, now it looks at the email handler configuration, which contains a single project, and it creates an issue from the email in there.

So, you only need one email address for commenting because it will add the comment to whatever it finds in subject.

But, as you can only create in a single project per handler, you need a separate email address per project Note that you can point several email addresses at one project though.

That's just the built-in handlers. If you want something more clever, it's always worth looking at JEMH!

Does the email for the creation of new issues need to have the project key in the subject line?

Based on the Email Handlers documentation, this appears to be per-project.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 11 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

34 views 0 5
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