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?
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.