Turning off mailing for 'unassigned' user

In our system, it's possible to create unassigned tickets. Unfortunately it causes some entries in the logs and I would be glad if we can get rid of those.

An example:

 

2015-02-26 10:39:15,308 Sending mailitem To='unassigned@' Subject='<removed>' From='null' FromName='JIRA [DoNotReply] - <removed>' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.71459.1424911540591@<removed>>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@5177c81e' MessageId='null' ERROR ServiceRunner Mail Queue Service [atlassian.mail.queue.MailQueueImpl] Error occurred in sending e-mail: To='unassigned@' Subject='<removed>' From='null' FromName='JIRA [DoNotReply] - <removed>' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='<JIRA.71459.1424911540591@<removed>' MimeType='text/html' Encoding='UTF-8' Multipart='javax.mail.internet.MimeMultipart@5177c81e' MessageId='null'
com.atlassian.mail.MailException: javax.mail.internet.AddressException: Missing domain in string ``unassigned@''
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:201)
at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:44)
at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: javax.mail.internet.AddressException: Missing domain in string ``unassigned@''
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1244)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1091)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633)
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:111)
at com.atlassian.mail.MailUtils.parseAddresses(MailUtils.java:115)
at com.atlassian.mail.server.impl.util.MessageCreator.updateMimeMessage(MessageCreator.java:44)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:162)
... 7 more

 

Thanks for any advice!

Zoltan

1 answer

0 votes
Daniel Wester Community Champion Feb 25, 2015

Do you have a user with an email user of  unassigned ?

No, and I don't need email to be sent for "unassigned" tickets. Moreover, if I assign the ticket to someone, it still tries to send it to "unassigned" :(

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,802 views 18 22
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