Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-42717

Missing Jira Issue Type Icon n Confluence Page PDF Export containing JIRA Issue Macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 5.8.14, 5.9.5, 1000.607.0, 6.1.0
    • Macros - Jira Macros

    Description

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

      STEPS TO REPLICATE

      1. Create Applink between Confluence 5.8.x and JIRA 7.1.7
      2. Create several JIRA Issue type (Epic/Story/Bug/Task) in JIRA 7.1.7 (Bug seems not reproducible in Jira 6.3.x and 6.4.x) under same project
      3. Create a page in Confluence and insert JIRA Issue Macro which will list all the JIRA issue in the project.
      4. Save the page.
      5. Export the page to PDF.

      EXPECTED RESULT
      All the JIRA Issue type icon (Epic/Story/Bug/Task) will show up in the PDF Export.

      ACTUAL RESULT
      JIRA Issue Type Icon missing in Confluence Page PDF Export. (Refer to attached image)

      DIAGNOSIS
      From the Confluence logs we can see that Confluence is reaching for the following URL to get the Icon:

      WARN [http-nio-8090-exec-8] [confluence.extra.flyingpdf.ConfluenceExportUserAgent] getImageResource Could not retrieve image resource http://10.60.2.212:8080/jira717/secure/viewavatar?size=xsmall&avatarId=10307&avatarType=issuetype during Confluence export
       -- referer: http://10.60.2.212:8090/conf5814/display/TEST/test+jira+issue+pdf | url: /conf5814/spaces/flyingpdf/pdfpageexport.action | userName: admin | action: pdfpageexport | page: 6979586
      

      However, from JIRA database, the following query shows that the URL for the Icon is different:

      select iconurl from issuetype where pname = 'Epic' ;
      "/images/icons/issuetypes/epic.svg"

      NOTES
      This bug only reproducible with JIRA 7.x.x (Tested with JIRA 7.1.7)

      Attachments

        1. Capture1.PNG
          Capture1.PNG
          43 kB
        2. Capture2.PNG
          Capture2.PNG
          38 kB
        3. ConfluencePage.png
          ConfluencePage.png
          70 kB
        4. pagePDFexport.png
          pagePDFexport.png
          34 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dazmi Dayana
              Votes:
              32 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated: