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

Problem Retrieving with summary of a workitem.

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





0 votes



One answer

Permanent link
I would suggest to look or ask on http://stackoverflow.com/, there are a lot more Java experts than here.    

0 votes

Your answer

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,938

Question asked: Dec 09 '15, 11:42 p.m.

Question was seen: 2,126 times

Last updated: Dec 10 '15, 2:36 a.m.

Confirmation Cancel Confirm