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
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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

32 views 0 4
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