Hi There, 👋
I have a (manually triggered) automation that is deleting attachments from a work item if the mimetype is an image type 🖼️ and the filesize is less than 10kb (10000 bytes).
Could this rule be triggered by the incoming mail handler when it creates the attachment?
Thank you for your insights! 🙏
Hey @Ward Schwillens_ Schwillie
I believe you can achieve this by changing the trigger from “Manually triggered” to an event that occurs when the mail handler finishes creating or updating the issue, because Jira Automation doesn’t fire directly on mail processing but on issue events. I would approach this using Issue created for new emails and Issue commented for replies, then branch over {{attachment}} and apply your size and MIME checks before deleting the file, this way any attachment added via email will be processed automatically without requiring manual execution. haven't tried though
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.