Details
-
Bug
-
Resolution: Timed out
-
Medium
-
2
-
Severity 3 - Minor
-
Description
When converting a jira macro for a single issue from storage to EXPORT_VIEW HTML using the contentbody/convert/export_view REST API, the image urls are not properly replaced. Instead the velocity expressions are included in the HTML.
Furthermore the issue summary is not included.
Example Storage Format
<ac:structured-macro ac:name=\"jira\" ac:schema-version=\"1\" ac:macro-id=\"913edd62-a7d1-4b54-9e15-aee228732e4e\"> <ac:parameter ac:name=\"server\">K15t Software</ac:parameter> <ac:parameter ac:name=\"columns\">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter> <ac:parameter ac:name=\"serverId\">61b6191d-d412-3043-a96c-75b7bceaed1f</ac:parameter> <ac:parameter ac:name=\"key\">EXP-421</ac:parameter> </ac:structured-macro>
Resulting EXPORT_VIEW HTML
<span class="jira-issue" data-jira-key="EXP-421"> <a href="https://k15t.jira.com/browse/EXP-421?src=confmacro" class="jira-issue-key"><img class="icon" src="$iconUrl"/>EXP-421</a> <span class="summary"></span> <span class="jira-status"> ( <img class="icon" src="$statusIcon"/> ) </span> </span>
The velocity expressions $iconUrl and $statusIcon were not replaced. Therefore these image do not appear at all.
Attachments
Issue Links
- duplicates
-
CONFCLOUD-60351 /rest/api/contentbody/convert/export_view losing context when converting from storage representation
- Closed
- mentioned in
-
Page Loading...