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

Is it possible to fetch data from history tab ?

 Is it possible to fetch data from history tab ?

0 votes


Accepted answer

Permanent link
As far as I can tell, the history states for an IAuditable can be retrieved using com.ibm.team.repository.service.IRepositoryItemService.fetchAllStates(IAuditableHandle)

You would have to resolve each state and do some kind of comparison. I have not looked at this.
Reverse Reverse selected this answer as the correct answer

1 vote


4 other answers

Permanent link

 Hi,


Java API can can be downloaded from the below link its under plain.zip files



1 vote


Permanent link

Hi


As an alternative a call to the reportable REST API such as this will give you the full history of a workitem (change the id=7 parameter to the id of the wi you need):

0 votes


Permanent link

The "history tab" is computed by fetching the history states of the work item and computing it. You can use the reportable rest api or the java API to get the history information. I have no example for the Java API at hand.

0 votes


Permanent link

My mistake ..I didn't make myself very clear ... I am looking for java  API - so that i can put all history  in individual objects and then compute the time for which it was not in a certain status,


Is it feasible ?

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,019

Question asked: Jan 29 '20, 2:51 p.m.

Question was seen: 1,549 times

Last updated: Jan 31 '20, 2:41 a.m.

Confirmation Cancel Confirm