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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

117 views 0 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