It's all about the answers!

Ask a question

How to read History from RTC

chakradhar gowda (111) | asked Mar 09 '17, 6:24 a.m.

 There are 3 change request type from service now team like standard, Normal, Emergency which was populated in RTC End of History tab like Type=standard, now how to read this Type by using IBM api.......?

i have used below snippet 

List history = itm.fetchAllStateHandles((IAuditableHandle) workItem.getStateHandle(), null);
for(int i = history.size() -1; i >= 0; i--){
IAuditableHandle audit = (IAuditableHandle) history.get(i);
IWorkItem workItemPrevious = (IWorkItem) teamRepository.itemManager().fetchCompleteState(audit,null);
IContributorHandle handle = workItemPrevious.getModifiedBy();

Ralph Schoon commented Mar 10 '17, 3:39 a.m.

 I have no idea what you are asking here and if the code you have actually has any relationship to your question. If you are interested in an answer read this How should I ask a question in the Forum if I want to receive useful answers? and try to provide a question that explains what information you want and for what purpose. Maybe then someone can provide you with some answer. 

Be the first one to answer this question!

Register or to post your answer.