Welcome to the Jazz Community Forum
Export work item into a word doc or PDF

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

You can export the results of a query to a CSV file or HTML. From there you can manipulate the data externally of just convert it to PDF form.
See:
- https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.workitem.doc%2Ftopics%2Ft_exporting_work_items.html
- https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.workitem.doc%2Ftopics%2Ft_exporting_work_items_web.html
Comments

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.

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
