Printing history information for QM data


qm_history_feed
Test Plan history fragment

IBM Quality Manager provides an API for accessing the history of individual resources as well as the history  of archived/deleted resources. You can read about the supported resources types and more on https://jazz.net/wiki/bin/view/Main/RqmApi#historyUrl

The URL for the history of a given resource looks like <integrationUrl>/history?resourceId=resources/<projectAlias>/<resourceType>/<id>

Test Plan URL

https://giediprime:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:1

History URL for the Test Plan

https://giediprime:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/history?resourceId=resources/JKE+Banking+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:1

The history is provided as a data feed where each entry has a title, the time of the change and an XHTML description of the change.

NOTE: the QM REST API does not provide a schema for the history feed so I have put one together here https://ibm.box.com/s/aco4thbmnspqzmg0nse2mdzcgc1z8vqy The schema is provided as-is and you can freely modify it to suit your needs.

A template example using this schema is available here https://ibm.box.com/s/anr5tgqro6pmodng137zapqmdp7c4tlj

NOTE: the tables in the XHTML description of the change can contain long texts ( URLs). To avoid the Word/PDF document from overflowing the page margins please check this article https://rpeactual.com/2015/08/03/allow-tables-to-extend-into-margins/

Advertisements

Author: Dragos Cojocari

Architect for Rational Publishing Engine

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s