It's all about the answers!

Ask a question

Problem Retrieving with summary of a workitem.

Pradeep Kumar (112) | asked Dec 09 '15, 11:42 p.m.
edited Dec 10 '15, 12:13 a.m.
Hello Team
 I am trying to retrieve the summary field of a workitem using
String summary = currentWorkItem.getHTMLSummary().getPlainText();

 I am able to Get the summary information of all workitems .

But In some Workitems Summary It returns the result along with "\r\n " at the end .
If i try to remove it using trim() method its not working .

Whether i am using correct method to retrieve the summary ?

Is there any Other method to remove the "\r \n " from the summary ?

If i try to retrive summary using currentWorkItem.getHTMLSummary().toString(),
for some workitems summary it returns "<br/>" at the end.
Why it returns "<br/>" only for few workitem?

Please Help :(

Thank You in Advance

One answer

permanent link
Ralph Schoon (63.1k33646) | answered Dec 10 '15, 2:36 a.m.
I would suggest to look or ask on, there are a lot more Java experts than here.    

Your answer

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.