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

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:


  • 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


3 answers

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

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:



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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 26m ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

6 views 0 2
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