HTML tags in Excel export

TopKek April 9, 2019

Hey,

we are currently migrating from 6.2.1 to 7.12.1.

Because we have lot of self written reports/plugins that mostly are used to export some data to excel, we are in need for this functionality.

Like in other topics we already found out that we can at least activate the excel export again via:

jira.export.excel.enabled=true

This worked fine but after exporting data to excel we receive a file "ConfigureReport!excelView.jspa" with some html tags at the beginning and end:

 

<html><head><title>Name of Report</title><meta name="decorator" content="none" /><meta http-equiv="Content-Type" Content="application/vnd.ms-excel; charset=UTF-8" /></head><body>

<Workbook ...

</Workbook>

</body></html>

 

This was previously (6.2.1) not the case and we were able to open the downloaded xls file directly. Now we would need to modify the file, remove the HTML tags and open the file, which is a workaround that we can not accept.

The content is generate via:

descriptor.getHtml(resource, dispParams);

I checked if there are already the HTML tags added but unfortunately not. Therefore the after processing will somehow add these tags.

 

Is this a known issue?

Does anybody know if we can get somehow around this issue or do we have to migrate all the reports to HTML?

0 answers

Suggest an answer

Log in or Sign up to answer