Hello together.
I am using the CLI so set some custom field values and I encounter the problem that I cannot set linebreaks.
I am particularily using the "setFieldValue"-command as in the script below
<PATH TO CLI>/jira --server "http://SERVER" --user "USER" --password "PASSWORD" --action setFieldValue --issue "ISSUE-ID" --field "FIELDNAME" --values "LINE 1 >> HOW TO INSERT NEW LINE HERE << LINE 2" --appendText
I tried a.o. with "\n", "\n ", " \n ","", " ", "\\". (All of them just make the charakters in the field, only " \n " brings up an "Exception 1" without any further note.
I have the target field with the "Normal Text Renderer" and with the "Wiki Markup Renderer" configured and editing the field directly (using the Enter Key) successfully creates a linebreak.
Any clue what I have to write there in order to create the linebreak?
Kind regards
Sascha Mareth