-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 5.17.0, 10.3.12, 11.1.1
-
Component/s: Jira Service Management
-
1
-
Severity 3 - Minor
Issue Summary
In JSM after 5.17, an inline text (|thumbnail for images and [^file.ext] for other files) is automatically added when attaching files, whether by drag and drop or by using “Add attachments“. This can create a mismatch between the inline text and the actual uploaded attachment name, which results in an invalid inline text in the comment.
Steps to Reproduce
- Add attachment in JSM 5.17.0 and later versions
- Add an attachment multiple times (for example, tree.png), and the default inline text will no longer match the attachment file name (where a number suffix is automatically added):
Expected Results
- The expected behaviour is the same as the one before JSM 5.17.0: no inline text is added, so the potential mismatch doesn't exist, and the default comment won't include 2 attachments.
Actual Results
- If tree.png is deleted from attachments, the inline text will fail to render and become invalid:
- If tree.png is not deleted, the inline text renders, but the default comment shows duplicate attachments:
Workaround
The inline text can be manually deleted.
Versions Tested
Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below:
| Testing Requirements | Version | Affected Version |
|---|---|---|
| Customers Reported Version | 10.3.10 | Yes |
| Most Recent Bug-Fix Release | 11.1.1 | Yes |
| Previous Major Release | 5.17.0 | Yes |
| Most Recent LTS | 10.3.12 | Yes |
| Previous Supported LTS | 5.12.28 | No |
| Other Versions.. | 5.16.1 | No |
- is related to
-
JSDSERVER-15439 Thumbnail wasn’t appeared in a comment field on drag and drop an image file into the comment field
-
- Closed
-
- links to