Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

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?

0 votes



3 answers

Permanent link

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:


0 votes

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.


Permanent link

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

0 votes


Permanent link
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.


0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,058

Question asked: Mar 02 '17, 11:56 a.m.

Question was seen: 5,647 times

Last updated: Nov 02 '19, 10:10 a.m.

Confirmation Cancel Confirm