How JEMH Add-on handles the emails he can not process

Hi,

I'm wondering how JEMH Add-on handles the emails he can not process.

I created a profile and set directives and a Subject processor.

I also set Whitelisted Directives : 

  • assignee
  • key
  • comment
  • workflow

JEHM will look for #keywords in the subject of the email.


How JEHM Add-on handles the following examples :

  • Will JEMH delete the email after trying to process it ?
  • Will JEMH leave the email in the mailbox ?


  1. Email with Directives which are not in White list ?
  2. Email without subject ? 

 

Regards !

2 answers

1 accepted

This widget could not be displayed.
Andy Brook Community Champion Aug 24, 2016

Hi Damien,

> Will JEMH delete the email after trying to process it ?

To be specific, JEMH cannot do this.  What JEMH can and will do is indicate that it is has processed/consumed the given message, this indicator is handled by JIRA and returned to the mailserver as 'READ', which is interpreted by the MailServer in specific ways (e.g. it may be marked read or actually removed)

If Messages were not marked 'READ' they would be there the next time messages were polled for, resulting in repeat processing (and NO no message processing)

> Will JEMH leave the email in the mailbox ?

JEMH will leave messages in the mailbox 'UNREAD' if the message is not found to be an expected recipient.  JEMH expects every inbound message found to be addressed 'to' JEMH.  This is confirmed through the catchEmail CSV field and jemhAddresseeRegexps CSV field.  In the simple case of one profile, if the message 'matches' the expected catchEmail/jemhAddresseeRegexp then the message is a candidate for processing, and regardless of outcome, will be 'READ'.

When issues fail to create issues/updates, the sender MAY be notified through the HintOgram feature, usually not. If an unexpected or 'procedural' problem results (eg no project can be found) then where issue creation fails, the message will be forwarded to the Notifications > Forward user.  In any/all circumstances of non-processing, it is always desirable to push the mail on to a Forward user for review rather than block the mail queue, where messages could still remain that can be processed.

 

> When Email with Directives which are not in White list ?

They are ignored

> Email without subject ? 

For this case, JEMH has a default summary which is used in place, see Profile > Issue : Summary

This widget could not be displayed.

Hi Andy, 

Thank you for your help.

Damien

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

83 views 1 0
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