Missing something easy, Project Keys, Subject Lines and Email Issue Creation

As I understand it (at least implied from here: http://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email#CreatingIssuesandCommentsfromEmail-Mailhandlers) ...

When using email issue creation, the handler/s should scan the subject line for project keys. matching keys will land that email in with the matching project. So ... let's say I have projects FOO and BAR (keys) and I created two mail handlers in that order ...

When I send an email with subject line 'BAR', it lands in the 'BAR' project. When I send something like 'BAR Crashing when I divide by 0', it lands in FOO.

Is there a way to customize the parsing or at least see/understand it better. I feel like I"m missing something obvious here, but my searches are turning up nothing for me.

OR ... is what I"m missing is that email issue creation takes a lot of manual triage/re-routing on the back-side and that's just the way it is?

2 answers

The subject line expects the issue key for the email to land as comment in the appropriate issue. For creating new issues, the contents of the subject line does not matter, it solely depends on which project is configured for the mailbox. Could you please upload screenshots of both of the mailbox configurations in Jira?

So .. the assumption then is that there is a separate email box for each project? I was thinking you could create one mailbox and have it handle (potentially) multiple projects.

Still curious as to how it created different issues, but will have to do that later. Working remoted and can't grab screenshots etc.

If you are looking for only commenting and not creating of issues you can use a single mailbox. Jira will route all comments to the right item based on the issue key.

If you need to use a single mailbox with more control you need to use JEMH.

As Renjith says JEMH can do that, JEMH supports directives, such that you could add #project=BAR to the subject and that would route the email to the project. I dont think an arbitrary substring match would be viable, in a large instance, a user is just bound to use a project key by accident...

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

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

155 views 0 2
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