New line (carriage return) and table problems in wiki-markup

Hello.

I stumbled upon some problematic issue. I am programatically generating values for a rich-text field. I want to fill a rich-text field with a string containing wiki-markup with table symbols:

||text1||text2|| \\ |text3|text4|

and I hope to get the string broken into separare table rows like this:

||text1||text2||

|text3|text4|

However what I actually get is something like this, as if putting a line break between cell markers creates a line break INSIDE the cell:

||text1||text2|| |text3|text4|

When I looked up database value of such field it shows two spaces in the area that jira interprets as a line break.

||text1||text2||••|text3|text4|

I tried putting all kinds of spaces, yet i can't force jira to break the whole line into separate cell rows.

What symbol should I use inside the string to force jira to read it as a new table row indicator?

1 answer

1 accepted

I haven't found any elegant solution to this problem, so I created slightly messy, but working one.

the two unidentified symbols are:


 


In this combination they are treades as enter. Yet, when I inject them to the string Jira sees it not as a single carriage return, but as two entities and still creates carriage return INSIDE cell.

So I created a special issue with JUST carriage return. Then I import the value of it into the string, and it works ok. Aboslutely unprofessional, but working... ;)

Suggest an answer

Log in or Join to answer
Community showcase
Pedro Felgueiras
Asked 30m ago in Jira

Clone a Zephyr issue

When I try to clone a Zephyr issue only a popup showing the issue id and nothing more shows.  On the browser console I see:  RTE not registered Error: No jira/editor/registry at c...

9 views 0 0
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot