You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to create a table with one line, as it is to be imported via API to the comments of a test case.
Per documentation, it mentions using \\ as a newline character, but the issue is as follows:
||Header||\\|Cell1,1| gives this after render:
Header |
| Cell1,1 |
---|
So instead of formatting the line break as a newline, it is formatted as a cell containing a line break within.
Can someone help me? The output I am hoping to achieve is
Header |
---|
Cell 1,1 |
But it must be inputted as a one-line statement since it has to be in JSON format prior to the import -
In other words,
||Header||
|Cell1,1|
Can not be used. Any help would be appreciated, thank you
Hi @Scott Bauer -- welcome the community,
there was a similar question like this some time a go. As far as I remember the solution was to use
\n
instead off
\\
as newLine character in your payload.
As far as I understood it correctly and my little API skills are sufficient I tried to update a description field of a bug in my system via API and the line break worked.
Hope this was helpful.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.