Getting old summary while using workItem.getHTMLSummary().getPlainText()
PROTITI DATTA (11●1)
| asked Sep 25 '19, 7:07 a.m.
edited Sep 25 '19, 8:16 a.m. by Ralph Schoon (63.5k●3●36●46) 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.
Does anyone know how to resolve this issue?
|
Be the first one to answer this question!
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.