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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

140 views 1 3
Join discussion

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