Retaining New Line in "Primary Text" during .csv i
New line in Primary text is removed during import of .CSV file.
RRC version being used is 3.0.1 and 3.0.1.1 Any workaround or solution (as early as possible)? Thanks |
2 answers
Benjamin Silverman (4.1k●6●10)
| answered Nov 28 '11, 12:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
We've recently filed a defect for this here. Unfortunately I did not find any workarounds other than updating the requirement manually in the editor after the text was imported on the same line.
|
Have you tried to replace "LF" (added by default in Excel) with "CRLF"?
In excel, (A) I select the column containing the primary text (with "LF" on it) (B) Run the following macro Sub ReplaceLfWithCrLfs() Dim ArtifactCell As Range Dim TempPrimaryText As String For Each ArtifactCell In Selection TempPrimaryText = ArtifactCell.Text Do While InStr(TempPrimaryText, vbLf) > 0 TempPrimaryText = Replace$(TempPrimaryText, vbLf, "XYX@kk") Loop Do While InStr(TempPrimaryText, "XYX@kk") > 0 TempPrimaryText = Replace$(TempPrimaryText, "XYX@kk", vbCrLf) Loop ArtifactCell.Value = TempPrimaryText Next End Sub (C) Export to CSV and import into RRC |
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.