Wiki Renderer - Formatting text in tables doesn't work properly

Bastian December 12, 2019

We updated Jira Software two weeks ago and are using now Jira v7.13.11.

Today, one user came up with a question about the following problem:

He wanted to change the text color of one table cell from red to green and this didn't work properly. After saving, the table was destroyed.

I tried to retrace the problem as follows:

Inserted a table in a new ticket as follows:

|Column 1||Column 2||Column 3||

|{color:#00875a}Test{color}|{color:#de350b}Test{color}|Test|

|Test|{color:#de350b}Test{color}|Test|

| | | |

table_new.png

After editing the table by changing the value in cell "A2" the text renderer looked as follows:

||Column 1||Column 2||Column 3||

|{color:#de350b}{color:#00875a}Test{color}{color}|{color:#de350b}Test{color}|Test|  

|Test|{color:#de350b}Test{color}|Test|

| | | |

table_edited.png

I also added two snapshots of the tables how they look in the visual text renderer.

Does anybody have a solution for this problem?

Thanks a lot in advance!

 

2 answers

0 votes
Deleted user December 30, 2019

Hello,

|{color:#de350b}{color:#00875a}Test{color}{color}|{color:#de350b}Test{color}|Test| 

If you see the above code, color is applied two times for single cell "Test", so two columns are compined.

remove the extra code will look like this. Please try the code.
||Column 1||Column 2||Column 3||
|{color:#de350b}Test{color}|{color:#de350b}Test{color}|Test|
|Test|{color:#de350b}Test{color}|Test|
| | | |

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 13, 2019

Hello Bastian,

Welcome to Atlassian Community!

Indeed, the code update to change the board seems to be a little "buggy", not displaying the items in the same structure as previously.

Can you please provide us a gif/video of how the user changed the table? In my test instance, the code to change the color of the A2 cell was correctly added:

|Column 1||Column 2||Column 3||

|{color:#00875a}Test{color}|{color:#de350b}Test{color}|Test|

|{color:#00875a}Test{color}|{color:#de350b}Test{color}|Test|

Screen Shot 2019-12-13 at 18.41.54.png

We will be waiting for your answer to better understand the problem.

Bastian December 15, 2019

Hello Petter,

I already managed to make a video but here is no opportunity to upload this video.

What I can tell you is following:

The user just used the button in the visual renderer for changing the color.

Then happened what I just described in the first post.

Sidharth verma June 12, 2024

can we put a condition to make the colour red or blue based on the value of the content in the table

Suggest an answer

Log in or Sign up to answer