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

How can I highlight a table cell based on task status?

Kelly Brennan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2018

I have a task list set up in a table. I would like the cell or row the task is in to be highlighted green when the task is completed. Could I go about this using a macro, and how?

4 answers

3 votes
Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
November 27, 2020

Hello @Kelly Brennan 

Please note that since the 6.1.0 version, the Confluence Wiki Markup and Markdown syntax is supported in the Table Transformer macro.
It means that you can enhance the formatting abilities of your tables in Confluence.

With the help of the FORMATWIKI() function, conditional formattingconditional inserting of statuses are possible now.

Here are some other use cases you may need in the future.


Katerina

0 votes
Ken_Dellinger February 20, 2019

Or if you are using Confluence Cloud, vote for the corresponding suggestion here:

https://jira.atlassian.com/browse/CONFCLOUD-40334

0 votes
Reto Eggenberger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2018

Hi,

We have a Feature request for tasks in tables. Maybe this would solve your problem.

Pls vote here:

https://jira.atlassian.com/browse/CONFSERVER-40334

0 votes
Andrey Khaneev _StiltSoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2018

As far as I know there are no macros for conditional formatting. You certainly can filter those rows out with Table Filter macro.

But you can write a custom script for highlighting rows with a certain status and add it to the page using HTML macro.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community events, ace, engineering, confluence feed, power of feed, atlassian ask me anything, atlassian confluence answers, ace rsvp, atlassian community events rsvp, atlassian magic

“How We Built This” ft. Atlassian Confluence Engineers

Meet the engineers who are making the Confluence magic happen at Atlassian ✨

RSVP now!
AUG Leaders

Upcoming Confluence Events