I'm iterating over linked issues and I would like to have line breaks after each element. Since the field is technically a multi line field I was hoping it was possible but I've been failing. This is what I tried:
value += mykey + " - " + status + " \n ";
Any ideas how this might work?
Thanks!
I thought it would be ridiculous to even try but this works:
value += mykey + " - " + status + " <br> ";
In my case (scripted field type "Labels") solution is HTML tag:
<p>
string = "first_line" + "<p>" + "second_line"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This works for me:
...
subtask_Names+= issue.getKey() + ", " + issue.summary + " \n <br/>";
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.