I am trying to create a ticket and add an attachment to it through incoming Mail handler .
Tickets are being created. But the Mail handler, it doesn't add an attachment to the Ticket. Instead it is adding below error message as a comment to the Ticket:-
Can you please help me out with this issue?
Thanks & Regards,
Dinesh
One additional thing to check. Check if the Mail Handler Requestor value you choose and see if this user display value also exists as a Jira Service Desk User. If you choose the Jira Service Desk portal user account, that doesn't have access to the project the Mail Handler is creating and issue in, then you'll receive the attachment error.
Hello Dinesh,
Thank you for reaching out.
Usually, the error you are facing are caused by one of the following reasons:
1 - The attachments you are trying to upload exceeds the size allowed by your JIRA instance. To check what is the attachment size allowed in your instance and optionally change it, you must be logged as a site-admin and navigate to JIRA Settings > System > Attachments > Edit settings:
2 - There is a property in the create transition of your workflow that prevents attachments from being added (Project settings > Workflow)
3 - Your user (or the one used as the default reporter in the e-mail handler) does not have the permission to Create attachments (Project Settings > Permissions)
Tip: Both 2 and 3 root causes can be ignored if you are able to add attachments when creating issues through JIRA UI
Let me know if this information helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Petter,
I get the same error message and I checked all configurations that you mentioned.
I set a technical user as a default reporter in my mail handler. The technical user has the "Create attachments" permission and my attachmentsize is 12kb.
How can i fix it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you find solution to this? We too have same issue.
1)File size is less than 10kb
2)the user have create attachment permissions
3) i am able to add attachments while creating through UI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm experiencing the similar issue. I can add the attachments through UI, but when I email the attachment as the same user, it does not get added. Could there be a problem with the type of the attachment?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I"m having this same issue 1/29/2024. All emails sent and processed by the mail handlers that have attachments are not getting JIRA tickets created. Attachment sizes are less than the amount limitation, other tickets are created fine as long as they don't have an attachment. This keeps sporadically happening. It really limits the usefulness of this product.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We recently had to debug this issue as well. Looks like the name of the attachment matters. Looks like spaces in attachment names would cause the ticket creation to fail. That was our issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.