Log which event puts a mail into the mailqueue

Martin Müller April 27, 2022

Hello,

a user of my jira instance (service management & software both data center) gets notified via mail around 15 times a day with emtpy subject and empty body. 

The outgoing mail log shows following:

2022-04-27 12:34:00,000+0200 DEBUG [] Sending mailitem To='XXX' Subject='' From='null' FromName='null' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ExcludeSubjectPrefix=false' anonymous Mail Queue Service [c.atlassian.mail.outgoing] Getting transport for protocol [smtp]
2022-04-27 12:34:00,001+0200 DEBUG [] Sending mailitem To='XXX' Subject='' From='null' FromName='null' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ExcludeSubjectPrefix=false' anonymous Mail Queue Service [c.atlassian.mail.outgoing] Got transport: [smtp://jira@smtp.XXX]. Connecting
2022-04-27 12:34:00,056+0200 DEBUG [] Sending mailitem To='XXX' Subject='' From='null' FromName='null' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ExcludeSubjectPrefix=false' anonymous Mail Queue Service [c.atlassian.mail.outgoing] Sending message
2022-04-27 12:34:00,432+0200 DEBUG [] Sending mailitem To='XXX' Subject='' From='null' FromName='null' Cc='null' Bcc='null' ReplyTo='null' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ExcludeSubjectPrefix=false' anonymous Mail Queue Service [c.atlassian.mail.outgoing] Message was sent with Message-Id <375509680.9020.1651055640059@[XXX]>

 

How do i figure out which event triggers this mail? We are using Scriptrunner as AddOn but i think, its not the problem in this case.

 

Best regards

 

Martin 

1 answer

0 votes
Anzar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 27, 2022

This log you shared does not give many details.

Can you check the script registry section of Script Runner and look for any script or configuration which refers to sending an email.
You can also match the time stamps on atlassian-jira.log to see what is actually triggering the emails.

Let me know if that helps.

Regards,

Anzar

Martin Müller April 27, 2022

Hi Anzar,

 

i will check the scriptrunner scripts. I cant find anything in connection with this issue in the atlassian-jira.log. I checked 10 different times when the mail is sent, Which paket in the logging do i have to change?

 

Regards

 

Martin 

Suggest an answer

Log in or Sign up to answer