Image Filenames with Existing Issue Key will not be Rendered in Image Macro

XMLWordPrintable

    • 4.04

      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:

      1. Create 5 issues. Issue keys will be generated (for example: GH-1, GH-2, GH-3, GH-4, GH-5)
      2. Open up issue with issue key GH-2.
      3. Attach an image with its filename containing any of the above issue key (for example: GH-3 For Testing.jpg)
      4. 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!
        
      5. Preview the comment. The following output is shown, and the image is not rendered:

            Assignee:
            Unassigned
            Reporter:
            Justin Alex [Atlassian] (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: