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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

376 views 1 18
Join discussion

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