How do I associate my custom email handler with my OnDemand project?

Hello everyone

I had defined a custom mail handler in my OnDemand instance. Somehow I had managed to make it so my project would use that handler, and not the default one. However there was an upgrade recently and my project fell back on the default handler. As I try to fix this, I can't find again how I could have associated my custom handler with my project.


In the Systems - Incoming Mail page, I see both handlers and there is a "Project" attribute which leads me to believe there should be a way to associate my project with my handler. But I don't see where.  In the meantime I simply deleted the default handler. Maybe that's what I did the first time around...






2 answers

0 votes

Hi Jean,

The Project field there is only used for handlers that create issues.

If you have a handler only for creating comments, you won't have a project associated to it as this handler will look for any issue key in the mail subject and add it to any issue in JIRA matching that issue key, no matter the project.

Hope this helps

Thanks for your answer Marcu,

I have a follow-up question though:

What if I have two handlers defined. The standard one defined by Atlassian (the name escapes me as I deleted it) and my custom handler.  Which one will my project use to handle incoming emails?

Thanks again



Hi Jean, If you have two handlers configured for the same job (e.g. both adding issues and comments), both will try to process the mail messages once each of them run through the JIRA services. The default handler is only set to add comments so there will be no projects associated to it. You can simply add a custom handler to create issues and it will ask on which project you want to add your issues to in the creation setup.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,111 views 4 9
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