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...

 

Thanks

 

js

 

2 answers

0 vote

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

js

 

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,230 views 14 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot