Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-32688

An attachment with an issue key in its file name cannot be rendered as an inline image in an issue

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      Steps to reproduce
      1. attached an image with the issue key in the file name. See REVIEW-17
      2. try to use that image in a comment, like
        !emw-REVIEW-17.jpg!
      Expected result

      image appears

      Actual result

      "Unable to render embedded object: File (emw-REVIEW-17.jpg)

      Workaround

      As a partial workaround, the user can run a query directly on the DB to disable one module from the Renderer Component Factories Plugin, but doing so, the user won't be able to mention links (e.g JRA-32688) on the description and on the comment fields.

      1. Stop JIRA;
      2. Login to its database;
      3. Run the following query:
        INSERT INTO pluginstate VALUES ('com.atlassian.jira.plugin.wiki.renderercomponentfactories:jiraissuelinkrenderer',false);
        
      4. Start up JIRA;

      Attachments

        1. emw-REVIEW-17.txt
          0.0 kB
        2. JRA-32688.JPG
          JRA-32688.JPG
          35 kB

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              adc6ee404f6d Jeff Kirby
              Votes:
              36 Vote for this issue
              Watchers:
              43 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: