Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
4.4.1, 5.2.9, 5.2.11, 6.2.1, 6.4-OD-5
-
4.04
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
If an image's filename contains an existing issue key, the image will not be rendered when using the image macro.
Steps to reproduce:
- Create 5 issues. Issue keys will be generated (for example: GH-1, GH-2, GH-3, GH-4, GH-5)
- Open up issue with issue key GH-2.
- Attach an image with its filename containing any of the above issue key (for example: GH-3 For Testing.jpg)
- Open up the comment box, and input any of the following to execute the image macro:
!GH-3 For Testing.jpg!
!GH-3 For Testing.jpg|thumb!
- Preview the comment. The following output is shown, and the image is not rendered:
Attachments
Issue Links
- duplicates
-
JRASERVER-32688 An attachment with an issue key in its file name cannot be rendered as an inline image in an issue
- Closed
- is duplicated by
-
JRACLOUD-66479 Using Issue #'s within attachment filenames will cause Jira t be unable to render them when embedding them within a comment, or description.
- Closed
- relates to
-
JRACLOUD-26230 Image Filenames with Existing Issue Key will not be Rendered in Image Macro
- Closed