It's all about the answers!

Ask a question

New Lines in Long String presented as description


Moti Wertheimer (18913628) | asked Sep 03 '09, 4:16 a.m.
JAZZ DEVELOPER
Hi,

I have a script which updates a custom attribute of "Long String" type.
The attribute is updated with a value of "String" (Java) type containing "\r\n".
When looking at the result in RTC I see no new lines - the text appears in one line.

Thanks,
Moti

2 answers



permanent link
Patrick Streule (4.9k21) | answered Sep 04 '09, 2:31 p.m.
JAZZ DEVELOPER
I have a script which updates a custom attribute of "Long
String" type.
The attribute is updated with a value of "String" (Java)
type containing "\r\n".
When looking at the result in RTC I see no new lines - the text
appears in one line.

Is it a Long String or Long HTML attribute? In the case of HTML, you would
have to use <p> or <br>.
If it is a Long String and not HTML, where are you seeing this: In the
Eclipse UI or in the Web UI work item editor?
When you say 'script', do you mean a plain java client implemention or a
shell script that uses the rest interface?

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Moti Wertheimer (18913628) | answered Jan 12 '10, 3:37 p.m.
JAZZ DEVELOPER

Is it a Long String or Long HTML attribute? In the case of HTML, you would
have to use <p> or <br>.
If it is a Long String and not HTML, where are you seeing this: In the
Eclipse UI or in the Web UI work item editor?
When you say 'script', do you mean a plain java client implemention or a
shell script that uses the rest interface?

--
Regards,
Patrick
Jazz Work Item Team


It's a long string and I want to see it in the eclipse client.
Saying "script" means plain java client implementation.
(sorry for the ambiguity)

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.