Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to retrieve work item LINK HISTORY with Java plain API?

[Edit: any idea anybody?]

I know how to read/write the history of a work item (the work item "versions").

I know how to read/write the links for a work item (the last version).

But this is not related.

I would like to know when a link has been created or deleted, maybe bound to a work item version or not, the date would be enough. My goal is to retrieve the history of what happened to a work item since it has been created: change of type, change of status, change of attribute value... this is OK so far; the part I don't get yet is the link part. Any idea?

Thanks!
Jérôme.

0 votes

Comments

 I have the same problem.. I can not see information related to changes in work item relationships.


Accepted answer

Permanent link

Please see com.ibm.team.workitem.service.internal.WorkItemHistoryService in the server API (shipped with the RTC server SDK).

com.ibm.team.workitem.service.internal.WorkItemHistoryService.computeHistory(IWorkItemHandle, boolean)
com.ibm.team.workitem.service.internal.WorkItemHistoryService.computeLinkHistory(IWorkItem)

Also note that the link history auditing needs to be enabled for the information to be processed: https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.jazz.repository.web.admin.doc%2Ftopics%2Ft_enable_auto_archive_links_wi.html

Ralph Schoon selected this answer as the correct answer

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
× 10,936
× 1,381
× 233
× 89
× 67
× 49
× 9

Question asked: Jul 28 '17, 8:35 a.m.

Question was seen: 4,103 times

Last updated: Mar 29 '19, 5:31 p.m.

Confirmation Cancel Confirm