Email request feature not working

Nestor Mata
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2018

I've set up the email request feature.

I have entered a Custom Secure IMAP configuration for an email I have hosted with Zoho.

I know the Zoho part works because until now I've been using a similar option in Jetbrain's YouTrack software for a long time, but now I'm migrating to Jira Service Desk.

The test of the configuration does works and the log option shows Jira does checks the email, but it doesn't process any email, although I have the initial service validation test email and some test emails I've sent.

Looking into the server logs I see the following happening:

2018-04-19 02:54:40,147 Caesium-1-2 DEBUG ServiceRunner [c.a.m.incoming.jepp.processor] Start running MailProcessor ...
2018-04-19 02:54:40,150 Caesium-1-2 DEBUG ServiceRunner [c.a.m.incoming.jepp.processor] Found 1 valid mail channels for processing email(s)
2018-04-19 02:54:40,150 Caesium-1-2 DEBUG ServiceRunner [c.a.m.incoming.jepp.processor] Starts processing mail item(s) for mail channel [CHANNEL573664491902] ...
2018-04-19 02:54:40,152 Caesium-1-2 DEBUG ServiceRunner [c.a.mail.incoming.jepp] Looking up main handler ...
2018-04-19 02:54:40,156 Caesium-1-2 DEBUG ServiceRunner [c.a.mail.incoming.jepp] Found main handler [com.atlassian.servicedesk.internal.feature.emailchannel.emailplatform.handler.SDMailHandler]
2018-04-19 02:54:40,156 Caesium-1-2 DEBUG ServiceRunner [c.a.mail.incoming.jepp] Looking up mail filters ...
2018-04-19 02:54:40,160 Caesium-1-2 DEBUG ServiceRunner [c.a.mail.incoming.jepp] Found 4 mail filters com.atlassian.jira.mail.processor.api.handler.DeliveryStatusMailFilter, com.atlassian.servicedesk.internal.feature.emailchannel.emailplatform.filter.SDSentFromJIRAFilter, com.atlassian.servicedesk.internal.feature.emailchannel.emailplatform.filter.SDBulkFilter, com.atlassian.servicedesk.internal.feature.emailchannel.emailplatform.filter.SDAutoReplyFilter
2018-04-19 02:54:40,174 Caesium-1-2 DEBUG ServiceRunner [c.a.m.incoming.jepp.processor] Finished processing mail item(s) for mail channel [CHANNEL573664491902]
2018-04-19 02:54:40,174 Caesium-1-2 DEBUG ServiceRunner [c.a.m.incoming.jepp.processor] Finish running MailProcessor ...
2018-04-19 02:54:40,183 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Start running MailPuller ...
2018-04-19 02:54:40,185 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Found 1 valid mail channels for pulling email(s)
2018-04-19 02:54:40,185 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Starts pulling email(s) for mail channel [CHANNEL573664491902] ...
2018-04-19 02:54:40,691 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Connection to Mail Server established successfully using cs@cocoapayments.com
2018-04-19 02:54:40,753 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Folder opened for READ_WRITE access
2018-04-19 02:54:40,808 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] 0 messages received before [pullFromDate: 1524119502153] are filtered out successfully
2018-04-19 02:54:40,808 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Found 0 messages for pulling ...
2018-04-19 02:54:40,808 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Persisted 0 message(s) to database
2018-04-19 02:54:41,152 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Finished pulling email(s) for mail channel [CHANNEL573664491902]
2018-04-19 02:54:41,154 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Found 0 enabled but inactive mail channels to record suspended state
2018-04-19 02:54:41,154 Caesium-1-3 DEBUG ServiceRunner [c.a.m.incoming.jepp.puller] Finish running MailPuller ...

 

And as I said, there is the "[JIRA] Requests from cs@cocoapayments.com are now set up and ready to use" email in the inbox.

Also, in the email request feature I've set up to use the "Request support" type of ticket that has the expected configuration of required title and comment and everything else optional.

I've look for it online, but I see no solution or why this would not work for me.

 

Thanks,

Nestor

 

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 20, 2018

Hi Nestor,

The DEBUG log you cited here only indicates that Jira did not find any new messages to pull or process in that inbox.    There are a number of possible reasons for this.  For example, if this same inbox is already configured for another Jira mail handler, or something else that would possibly read these inbox messages, this could be happening before this particular mail handler gets to that message.   If that happens, the message would not be processed.   Only unread messages are expected to be processed by this mail handler.  So it might help to keep an eye on that inbox via other means, such as an email client, to see that message arrive in the box, and then see if perhaps some other process is opening this message.

If that is not the case here, then I think the next steps would be to try to walk through the KB: Troubleshooting JIRA Service Desk Incoming Mail.   I realize this is a lot of information in this KB, but it helps to read through this to better understand how Jira is working in this case.

Nestor Mata
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2018

Hi Andrew,

I did indeed was looking into the inbox while doing the tests to make sure the emails were there and were unread.

The problem seems to have been some sort of difference of the timezone setup, because after a couple hours it just started working for new emails, but it did not work with emails sent during the first couple hours, only after that.

It is working well so far.

thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events