It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

As I understand it (at least implied from here: ...

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

Introducing dependency & progress for roadmaps in Jira Software Cloud

Nearly a year ago we launched the next-gen template, where we reimagined parts of Jira Software Cloud’s core functionality. One of the ‘crowd favorites’ was the native roadmap, which allows teams to ...

10,698 views 40 55
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you