Details
-
Bug
-
Resolution: Unresolved
-
Low
-
2
-
Minor
-
Description
Issue Summary
PDf export of a page with a Jira Issue Macro will have broken images for the Issues icon if they use a custom image icon.
This occurs for both a Team Managed and Company Managed project in Jira Cloud.
This also affects apps that use the export endpoint such as K15t's Scroll Exporters for Confluence (Scroll PDF Exporter/Scroll Word Exporter/Scroll HTML Exporter)
Steps to Reproduce
Jira
- create a new issue type and add a custom icon to the issue and ensure it can be used in the project
- create an issue using the new issue type
Confluence
- create a page with a Jira macro
- in the JQL, include the issues that have the custom icon, e.g. key in (test-3, ecohelp-4)
- publish the page and confirm the icons are visible
- export the page as PDF
Expected Results
The PDF exports with issue icons correctly displaying.
Actual Results
The Issue Icons are broken images.
Looking at the URLs for the icons, they have the same format as standard icon, that is
https://<site>.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/<number>?size=medium
where just the value <number> is different.
Apps face restrictions which prevent them from downloading the custom Jira icon image files. The following is logged as the response:
{"errorMessages":["You do not have permission to view the avatar."],"errors":}
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available