-
Bug
-
Resolution: Unresolved
-
Medium
-
13
-
Minor
-
2
-
Issue Summary
You can control the max file size for JSON/CSV imports by modifying the Attachments settings, as shown below in the file picker section:
Currently, even though the JSON file's size is under the acceptable size as it was configured, Jira won't proceed with the upload, showing an error message if the file is bigger than around 7.8 MB:
"Cannot attach file <file_name.json>: You do not have permission to attach a file to the issue."
Steps to Reproduce
- Set the maximum attachment size to more than 10MB;
- Create a JSON file with size at 8MB or more (as long as it is smaller than what you have set as the maximum size);
- Try importing the file via the JSON external system import (https://YOUR_SITE.atlassian.net/secure/admin/JsonSetupPage!default.jspa?externalSystem=com.atlassian.jira.plugins.jim-plugin%3AjsonImporter)
Expected Results
Jira will upload the file if it is smaller than the max size that was configured in the Attachments section.
Actual Results
Jira fails to upload the file, presenting an error message.
Workaround
Reduce the size of the file to 7.6MB or lower. Refer to knowledgebase article here.