How to support email addresses with international characters
Summary
Jira ships with a mail handling library called JavaMail, but version 1.5.6 of the library doesn't support email addresses with international characters, such as:
élliöt@test.com
Version 1.6.0 of javamail support was added for non-ASCII characters in email addresses. A request has been logged to upgrade this library in Jira (JRASERVER-67175) but until Atlassian does this, the only way to support accented characters is to upgrade the Java Mail library manually at your own risk!
Updating core libraries is not supported by Atlassian and may have unexpected/hidden consequences.
We have tested this with Jira 7.9.0 and JEMH 2.6.5. If you are using an older version of Jira, your mileage may vary.
Detecting the problem / showing the fix works
The following screenshots come from the JEMH Auditing view. Access the Processing Detail report through the icon shown below when hovering on an audit row.
Area | Broken | Working |
---|---|---|
Processing Report |
|
|
Test Cases |
|
|
Instructions
1 | Download the following files: | |
2 | Close down the instance of Jira that you are currently using. |
|
3 | Copy the 2 previously downloaded files into the "atlassian-jira/WEB-INF/lib" folder of your Jira installation. | |
4 | Start Jira and ensure that JEMH is up to date (at least version 2.6.5) | |
5 | Check the international characters work by creating a Test Case with an email such as: | élliöt@test.com |
6 | You should see in the list of Test Cases that the email address with international characters appears correctly. |
Applicable JEMH versions
2.6.5
Tested actions
These actions were test with an international character present in the email of a Watcher, Reporter, Assignee and also when contained in a Custom Field.
Create Issue (as Reporter)
Change assignee
Create comment
Edit Description
Attach file
Edit Custom Field
Edit Sprint
Related articles
See JavaMail 1.6.0 Release Notes