It may sound trivial, but what is a proper way to put a line break inside a string in SIL script?
I'm trying to add a multiline description to issue, but I don't want to use "\\" sign. I want a proper line break, so that when user will edit the comment he will see:
this is line one this is line two
this is line one \\ this is line two
Well, that's what I've tried, but when user edits such comment he sees:
And I want him to see:
What is more annoying, double slash doesn't play well with other special markups. Fo example if I want to put a line between two lines I would define a script like this:
string my_comment = "String \\\\ ---- \\\\ String";
Yet, what I achieve is:
The same thing done by the following code:
string my_comment = "String\n----\nString";
So I guess "\n" > "\\\\"
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events