Modifying Incoming Email Settings Fails with Passed List had more than one value

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When attempting to edit an incoming mail configuration setting, the following error is displayed in the interface:

1 2 3 4 5 6 7 8 9 10 11 12 Cause Referer URL: http://JIRAURL/secure/admin/WebSudoAuthenticate.jspa java.lang.IllegalArgumentException: Passed List had more than one value. java.lang.IllegalArgumentException: Passed List had more than one value. at org.ofbiz.core.entity.EntityUtil.getOnly(EntityUtil.java:62) at com.atlassian.mail.server.managers.OFBizMailServerManager.getMailServer(OFBizMailServerManager.java:68) at com.atlassian.jira.plugins.mail.webwork.MailServerActionSupport.doValidation(MailServerActionSupport.java:236) at com.atlassian.jira.plugins.mail.webwork.VerifyPopServerConnection.doUpdate(VerifyPopServerConnection.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)

Cause

This can be caused by having incoming mail handler(s) configured for invalid JIRA Project(s)

Resolution

Remove the mail handler(s) configured for the invalid JIRA Project(s)

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.