I have already set up JIRA incoming email server for creating tasks from email. it works perfectly when I send email from gmail or email providers. But when I send email to jira email id from code using SMTP then email delivery is successful but it does not create any tasks on JIRA. SOmehow JIRA is blocking or filtering out email sent from code. How to resolve this?
Hello @Oye Hoye
Jira isn't blocking "code" so much as it's filtering "bulk" headers. Your script likely includes tags like Auto-Submitted or Precedence: bulk that your mail handler is set to ignore by default to prevent email loops.
Check if the From address matches a real Jira user or if you have a Default Reporter configured in your mail handler. If Jira doesn't recognize the sender and there’s no fallback user with "Create Issue" permissions, the email will just be dropped.
Compare the raw headers of a successful Gmail send against your code if the Message-ID or reporter identity is missing or "robotic," the mail handler won't know how to process it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.