How to add and customize a status colour bar

Hi,

 

I am currently busy with creating a table in confluence which allows everyone in my team to comment in an objective and to provide a completion status from 0-100 by manually entering a number in the respective status column.

Now, I would like to have some kind of conditional formatting feature as it is available in, e.g., Excel. To be more specific:

I would like Confluence to highlight the table cell in a specified colour if the number entered is between a specified value range.

Any idea how to achieve this? I found the "status macro" page in the Atlassian documentation, while it does provide a nice way to visualize a status, it does not tell me how can I define which entered values should correspond to which colour.

Hope someone can help

3 answers

1 accepted

Hi Kian,

There is no such a feature in Status macro. But there is Handy Status macro from Handy Macros add-on, which allows you to define a set of statuses with different colors and swith statuses while viewing the page. But this add-on available only for Server version of Confluence.

Another possible solution is to write a custom css or script.

I opted for the built-in status macro, as the plugin costs do not justify the means in our case

Hi Kian,

This cannot be done natively within Confluence - the tables are static and don't have any ability to calculate anything.  You'll need to use an add-on like Advanced Tables for Confluence, although it's not free.  Unfortunately if you want this functionality without paying for it, you'll probably have to code it yourself.

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 Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

396 views 17 9
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