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?
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...
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
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG