Getting old summary while using workItem.getHTMLSummary().getPlainText()
Hi,
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);
monitor.subTask(workItem.getState2().getStringIdentifier());
monitor.subTask(workItem.getHTMLSummary().getPlainText());
The output that I am getting is the previous one (Quality.TS.obsolteLinks ) and not (DXL changes), as shown in the history below.
Summary |
|
Does anyone know how to resolve this issue?