Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Email Handler deleting email after processing

Carlos Guanes October 18, 2019

I'm testing the JIRA incoming Email handler and I setup to use Secure IMAP.

I noticed JIRA is deleting the email after processing and creating the ticket.

Is there a way to make to leave the email in the folder instead of deleting?

5 answers

0 votes
Alison Milne
Contributor
October 7, 2021

Is there a workaround for this "bug"?

0 votes
Harish July 15, 2020

i am also facing same issue

any solution?

Andrew Laden
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.
July 15, 2020
0 votes
Carlos Guanes October 21, 2019

This is showing in JIRA V8.5 documentation:

"If Jira successfully processes a message, Jira deletes the message from your mail account (on a POP) or file system (i.e. for file system messages). On an IMAP mail server processed messages are not deleted but marked as read."

 

https://confluence.atlassian.com/adminjiraserver/creating-issues-and-comments-from-email-938847641.html

0 votes
Andrew Laden
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.
October 18, 2019

I don't believe so. It deletes the mail so as to prevent any chance of it being re-processed. (though interestingly enough, the JSD mail handler behaves differently, using read/unread flags, which i think it more risky. It someone connects to the mailbox and reads the message before the mail handler, it never gets processed.

If you want to maintain an archive of emails sent to jira, I suggest you create distribution list to send to with 2 members, the jira mailbox, and a 2nd mailbox that you use for archiving. 

Carlos Guanes October 21, 2019

I found that is was reported as a bug, but I don't know if it was fixed or work-around implemented

 

https://community.atlassian.com/t5/Jira-questions/How-do-I-stop-the-jira-mail-handler-from-deleting-imap-emails/qaq-p/946518

Andrew Laden
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.
October 21, 2019

I never realized it wasn't supposed to delete them I guess. I use JEMH so perhaps its behavior is different.  

That said, Atlassian could fix the "bug" by just saying it's expected behavior. Its actually more confusing to have different behavior in POP vs IMAP in my opinion. 

So you may want to still consider my original suggestion. (using a Distribution list with 2 members, one for jira and one for archiving.

Carlos Guanes October 21, 2019

I don't manage the exchange neither have access to create distribution list, so it is not an option...

0 votes
Carlos Guanes October 18, 2019

I forgot to mention, I'm using JIRA V8.4.1

Suggest an answer

Log in or Sign up to answer