It's all about the answers!

Ask a question

Export work item into a word doc or PDF


Adam Dilling (1124) | asked Mar 02 '17, 11:56 a.m.

Is there a good solution for exporting specific content from a RTC work item into a word document or PDF file. The print feature extracts everything from the work item and layout is not neat for pasting to a document so a better solution would include building a script that would extract defined data fields and build a report that could be saved as a pdf or doc file. This would provide an offline summary of a work item externally. Has anyone implemented something like this?

3 answers



permanent link
Alan Sampson (93749) | answered Mar 02 '17, 12:11 p.m.
JAZZ DEVELOPER

Comments
Adam Dilling commented Mar 02 '17, 12:22 p.m.

Thanks, for my specific use case I am trying to build a report from a single work item not from the results of a query and would like to include content that may not be available in a simple query (discussion history for example). Hoping someone may be some tool or example code that has been used to export into a formatted document to eliminate the manual manipulation by the user.


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Mar 02 '17, 12:36 p.m.

One option is to create a report template using Rational Publishing Engine and import it in RTC. You can generate Word, PDF or HTML reports through RTC based on the template designed.
https://jazz.net/help-dev/clm/topic/com.ibm.rational.rrdg.usage.doc/topics/t_author_docstyle_report.html

Link to a very basic template (.dta file) can be found in https://jazz.net/forum/questions/234776/how-can-i-use-rpe-to-report-on-a-single-rtc-work-item


permanent link
ManuelPaz Arriba (11) | answered Nov 02 '19, 10:10 a.m.
My preferred solution for exporting work items content to PDF or MS Word is to go via an HTML export as intermediate step. For getting a PDF I simply use an online converter.

There are quite many around for free, so you can either google or check out https://converter.page/ where find an good overview for many problems. Both, html to PDF and also .docx should be supported.

Using HTML as intermediate format should give a better result than using CSV.


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.