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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.