Configuring mail handlers to reject an email

I need to configure the mail handler in a way that it would satisfy the below scenario. Please let me know if this is possible.

Scenario:
An email is sent to the JIRA configured POP Mail Inbox in order to CREATE an issue. However the email is not in the correct format.

We need to email to be rejected and an email should be sent out to the creator saying that his email is not in the specified format.

Is this possible?

2 answers

1 accepted

This widget could not be displayed.

To validate a format youd need to be able to describe it, how would you do that? Pluggable validation of incoming email is an interesting idea but isnt implemented in JEMH at the moment, existing filtration rules are limited to blacklisting of addresses, subject (next rel) etc. Depending on the complexity of your data format, you may get a lot of rejects. If you want structured data, and have aConfluence, one possibility is the use of Adaptavist ConfluenceMailFormNg, which presents users with a wiki style form, select/enter text, from which comes a formatted mail, which could then be dealth with by JEMH...

Thanks Andy, will try this out.. basically this isn't possible without using a plugin or any customization..

This widget could not be displayed.

Are you using standard email handler of JEMH? Will it help with a server side rule in the mailbox rather than getting this logic inside Jira? Otherwise you may need to write custom handler https://developer.atlassian.com/display/JIRADEV/Adding+your+own+email+handling+classes

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