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
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
I would suggest to look or ask on http://stackoverflow.com/, there are a lot more Java experts than here.