JIRA Mail handlers > Add a comment > Test run results are successful but the comment is not made

Kristin Bestla June 11, 2013

Hi there,

I'm having trouble with a mail handler in JIRA.

My goal is to automatically create a comment on JIRA issues every time a comment is made in GitHub (that has a JIRA Issue Key).

I've set up the mail handler and the test run works, and it gives me those messages:

Summary:

  • 1 messages read from the server
  • 1 new comment created
  • 1 attachment created

Found 1 messaegs in the pop3 folder.

Adding comment 'TEST' by user 'abc' to issue 'AB-1234'

Creating attachment 'null'

Deleting Message 'TEST email'

The thing is, that it's rather random (does NOT happen more often that it does happen) if the comment is then actually created or not on the JIRA issue. What could be wrong?

Best regards

Kristín

3 answers

0 votes
Hangsu Ma
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.
June 7, 2015

If your incoming mail server is on POP3, then the moment you click on Test button, emails have been read and removed from your email server. That's why test will be successful, and real run wont catch any new emails.

This is an limitation of the protocol, the retrieve email in POP is read and delete. More details here:

http://en.wikipedia.org/wiki/Post_Office_Protocol#Overview

 

The solution for this is not use POP, use IMAP instead.

0 votes
Claudia Galeas April 24, 2014

I'm having the same issue. Did you find a solution?

0 votes
Kristin Bestla June 11, 2013

I've by the way read this page and I didn't find any answers there: https://confluence.atlassian.com/display/JIRA/Creating+Issues+and+Comments+from+Email

Suggest an answer

Log in or Sign up to answer