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
Community showcase
Published Thursday in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

383 views 1 13
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