Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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?

2 answers

1 accepted

1 vote
Answer 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... ;)

Hello,

 

The nice way is to use %0A 

I went with "
&#13" to generate the line break in the cell content.  Thanks...

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you