Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sometimes it is required that a single Mail Handler can create issues not only in a single project but in several ones based on some email attributes. Email This Issue Mail Handler along with its support to initialize issue fields provide an easy solution for this.

To implement email routing, first set up a mail handler by following the "Configure Mail Handler to Process Emails" section in the corresponding tutorial: Setting up an Email Help Desk.

Configure the mail handler by enabling the option: "Initialize Issue Fields":

Image Removed

Then add a new Field Context that covers your project or projects of the mail handler:

Image Removed

Configure the Field Context by adding field rules for each possible sender domains with the following attributes:

Image Removed

Field Rules of these type will implement email routing based on the sender's email address.  

Image Removed

However, following the same logic, you can route emails to different projects also based on recipient addresses, email subject and body content etc.

Note

Project routing works if the issue type (and the corresponding workflow) is the same in all projects to which the routing is configured.

Pro tip

If you successfully routed your emails to different projects, you may want to comment the issues from any subsequent emails via the same Mail Handler.

In order to make this work for you, you will have to do either of the following:

  • Configure your mail handler with the Project field left empty, this will mean that the Mail Handler is applied to all projects
  • Configure mail handlers for each Project you are routing to. Note: this does not require you to set up different email accounts and mail handlers in JIRA, only in Email This Issue.

...

Redirect
delay1
filename
locationhttps://docs.meta-inf.hu/email-this-issue-for-jira-server-data-center/faq/faq/how-to-route-emails-to-projects

Thank you for visiting our old product documentation site. Note that we no longer store or update our documentation here.

Please navigate to our new documentation site and update your bookmarks accordingly. If you're looking for the former content of this page, click here.