Jira Service Management stops processing emails
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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
Jira Service Management Email Request functionality stop working
- No incoming mail are able to be processed
- In
Jira Administration > Applications > Email Request > Click on 'View Log'
, Connectivity log and Processing log is not showing anything (empty)
The following appears in the jira-incoming-mail.log
ERROR ServiceRunner [c.a.s.caesium.impl.SchedulerQueueWorker] Unhandled exception thrown by job QueuedJob[jobId=com.atlassian.jira.internal.mail.services.MailPullerJobRunner,deadline=1458744697361]
Diagnosis
Diagnostic Steps
- Incoming mail were working previously with no issue
- There are recent database / network interruption occurs recently
- Database restart have been done recently without shutting down Jira
Cause
Below services are stuck due to abrupt interruption towards Jira which lead to the mails are unable to be pulled. Looking at the Scheduled Jobs, the scheduled jobs seems to hangs and is not running (by referring to 'Next Run' date, compare with the real time of the server. The next run date/time will be backdated)
- com.atlassian.jira.internal.mail.services.MailProcessorJobRunner
- com.atlassian.jira.internal.mail.services.MailPullerJobRunner
- com.atlassian.jira.internal.mail.services.MailCleanerJobRunner
Resolution
Restart Jira to retrigger the scheduled service.
There is a corresponding feature request to allow the mail services to be restarted manually instead of restarting Jira: JSDSERVER-5397 - Restart JIRA mail services manually