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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

629 views 3 11
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