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

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  Quality.TS.obsolteLinks Dxl   -> Delete changes

Does anyone know how to resolve this issue?

0 votes


Be the first one to answer this question!

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
× 10,941
× 411

Question asked: Sep 25 '19, 7:07 a.m.

Question was seen: 1,560 times

Last updated: Sep 25 '19, 8:16 a.m.

Confirmation Cancel Confirm