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
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
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
Join discussion

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