This is what we want to accomplish: Editing General Notes field with additional info on an Idea instance.
Sadly, this is the result we get:
We've tried both options:
<core:set var="newGeneralNotes">${newGeneralNotes.concat(lineSeparator+"[ADDITIONAL INFO] "+newInfo)}</core:set>
<core:set var="newGeneralNotes" value='${IdeaGeneralNotes}
[ADDITIONAL INFO]: ${newInfo}'/>
And then the XOG XML:
[...]
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_idea.xsd">
<Header action="write" externalSource="niku" objectType="idea" version="8.0"/>
<Ideas>
<Idea name="${PRName}" objectID="${ideaCode}" description="${PRDescription}"
generalNotes="${newGeneralNotes}">
[...]
No matter the option, the ${newGeneralNotes} loses the new lines.
We certainly cannot find a way around.