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.

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

1 vote
Accepted answer

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..

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,092 views 4 9
Read article

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