It's all about the answers!

Ask a question

Getting old summary while using workItem.getHTMLSummary().getPlainText()

PROTITI DATTA (111) | asked Sep 25 '19, 7:07 a.m.
edited Sep 25 '19, 8:16 a.m. by Ralph Schoon (63.1k33646)


I am searching with the work id and then trying to fetch the status and summary. However, it is showing me the previous summary and not the current summary.

This is the code that I am following:
int id= 123456;

IWorkItemClient workItemClient=(IWorkItemClient) repository.getClientLibrary(IWorkItemClient.class);
IWorkItem workItem = workItemClient.findWorkItemById(id, IWorkItem.FULL_PROFILE,monitor);

The output that I am getting is the previous one (Quality.TS.obsolteLinks ) and not (DXL changes), as shown in the history below.
Summary  Quality.TS.obsolteLinks Dxl   -> Delete changes

Does anyone know how to resolve this issue?

Be the first one to answer this question!

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