Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I export Trac tickets to MS Excel including the ticket description, with formatting?

Tags:

export

excel

trac

I need to be able to export Trac tickets from a report or custom query to Excel, including the ticket description. The catch is that the description must be formatted as defined by the wiki syntax rather than displaying the raw text.

like image 524
Ryan Taylor Avatar asked Dec 18 '08 01:12

Ryan Taylor


3 Answers

you can just go to "View Tickets" and chose "Custom Query" there you select all the columns you want to see. There will not be a "Description" column, cause it could be wiki formatted, therefore it is available only as a "row" option. But you can still edit the query manually, and add a: &col=description in it, so you will have the description "unformatted" as a table column.

Than chose download as Comma Delimited Text, and open it in Excel ;-)

HTH

like image 77
ANdreaT Avatar answered Oct 18 '22 00:10

ANdreaT


I've had the same issue. I've tried ExcelExportPlugin, but it is not better than exporting in CSV. In particular, it doesn't format the "description".

I've had better luck saving the whole HTML report, isolating the html table, and importing it as html file in Excel : It keeps well all the formatting.

Hope this helps.

like image 22
user64221 Avatar answered Oct 18 '22 00:10

user64221


I had good success with the technique offered by ANdreaT above. The only addition I would make is just to highlight that you aren't able to reach the point where you can add the "&col=description" to the query is after you have clicked on the "Save Query" button at the bottom of your existing report.

Hope that saves you the few minutes that it cost me.

like image 43
Jeff Richards Avatar answered Oct 18 '22 01:10

Jeff Richards