JIRA complains about Special Characters when Uploading Attachment to JIRA
Problem
JIRA refuses to accept images with names containing ":" when attaching a file.
- JRASERVER-36515 - Unable to upload attachment if the file name has special characters
- JRASERVER-71250 - Jira behaviour is inconsistent when the attachment name contains curly brackets
- JRASERVER-65739 - Add support for special characters used in attachment field when importing attachment using CSV
The following appears in the XXXXXXXXXXX.log
Screenshot ABC:1:2:3.jpg contains the invalid character ":". Please rename and try again
Cause
JIRA does not support the usage of certain special characters as stated in the official documentation here (Attaching a File#AttachingaFiletoanIssu ).
Ensure any attachment being added does not contain any of these characters:
File names cannot contain any of these characters: '\', '/','\"', '%', ':', '$', '?', '*'.
Resolution
- Rename the affected file ensuring it does not contain any of the characters mentioned.
- Upload the file again.
Last modified on Jan 23, 2025
Powered by Confluence and Scroll Viewport.