JIRA Service Desk Mail Puller Runs Too Slowly (6-7 minutes)

We can demonstrate, like clockwork, our JSD email puller runs every 6-7 minutes. This creates a huge delay for quickly processing incoming mail and slows the entire product down to a crawl. Round trips (emails in -> confirmation email back to the user) take a good 12-14 minutes.

We've looked through the JSD mail settings, connectivity logs, and exchange logs. We can confirm the mail gets delivered to the email account JSD is looking at within seconds, but is ignored until that 6-7 minute period where the mail puller decides to run.

Can anyone help point us in the right direction? A specific log (in or out of the UI) to look at? Anything to explain the delayed and programatic-feeling nature of this check would be extremely helpful!

 

1 answer

0 vote

Hi Chris,

The first thing I would check is the Global Mail Puller scheduler settings per the Troubleshooting JIRA Service Desk Incoming Mail knowledge base article:

There are three jobs involved in Service Desk processing mail which are Global PullerGlobal ProcessorCleaner Job. You can access scheduler details for all these jobs VIA the admin search (logged in as admin) by hitting the G key twice and typing Scheduler Details. You can click show more to see the schedule and other details.

 

This Global Puller is a scheduled job that is set to run every minute. When the puller job is triggered, each email inbox registered to JEPP will in turn has emails fetchedAll unread emails in the inbox will be retrieved, including emails sent to cc, bcc, forwarded email, emails to mail list, etc. It will not pull e-mail in the case of Attachment size is too big (larger than 25MB).  

 

The Global Processor scheduler job runs every minute and processes all unprocessed mail items saved in the database by the Global Puller. This scheduler job runs independent to the Global Puller. JEPP currently has the following default filters to be reused: 
  • AutoReplyMailFilter - This filter rejects auto-replied emails. If Auto-Submitted header in an email has a value different from "no", that email will be considered as auto-replied emails. Ref: http://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml
  • BulkMailFilter - Some emails will be marked as "spam" by the mail server. This filter will reject those emails.
  • DeliveryStatusMailFilter - Some mail service will send delivery status notification emails to let the sender know the status of the sent email. This filter will check whether the "multipart/report" header contains "report-type-delivery-status" OR in case of a bounce message, the "Return-Path" header of the email has null email address ("<>"). Ref:Bounce_message#Causes_of_a_bounce_message
  • SentFromJIRAMailFilter - This filter will check whether an email was sent from a JIRA instance. All JIRA notifications will have "X-JIRA-FingerPrint" in their header.

Take a look at the mail puller settings and make sure they were not changed. 

I don't see these values changed often so the next step I would do is take a look at the Mail Handler by going to System Administration > Mail > Incoming Mail and you should see this field that can be edited:

Screen Shot 2017-09-05 at 1.36.57 PM.png

Verify that is not set to 6 and if so change it to the amount of time you would like.

Cheers,

Branden

Hi Branden!

Thank you for your response! I can confirm the puller, processor, and cleaner jobs look good.

When I check the Incoming Mail settings - we have mail handlers for just about every project we've got (all of them have the 1 minute delay option as you point out)- but nothing for Service Desk in there. I was under the impression that the Service Desk specific mail handling was done in the project itself (projectname -> email requests). If not, maybe that's our problem.

Should I be seeing/creating a explicit mail handler in the incoming mail settings? 

I also want to note that regular mail processing elsewhere in JIRA seem fine - it's really JUST service desk which is slow.

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
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

970 views 2 14
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