How to tell JIRA not to delete mail from inbox?

David Jansson August 21, 2015

We've received mails without Subject.

The mailhandler process the mail; won't create an Issue and delete the item from the mailbox.

How to prevent the mailhandler from deleting mails when it fails to create Issues?

2015-08-21 15:31:14,666 DEBUG [SOME IMAP mail] atlassian-scheduler-quartz1.clustered_Worker-2 anonymous    Test Mail Handler Test Mail Handler[10200]: Issue must have a summary. The mail message has an empty or no subject.

 

br

David Jansson

 

2 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 21, 2015

You can't - it deletes them so it doesn't reprocess them infinitely.  You should track down who is sending you blank subject emails and correct their mail client so that it sends well formed mail.

0 votes
David Jansson August 21, 2015

A follow up question:

The mailhandler validates incoming mails with

  • Permission Scheme and keep the mail if there is a conflict (no create issue permssion for the sender)
  • Field Scheme and delete the mail there is a conflict (mandatory fields not set)

Counterintuitive behavior...

Suggest an answer

Log in or Sign up to answer