# How to customize table content conditionally

**URL:** <https://community.developer.atlassian.com/t/how-to-customize-table-content-conditionally/35911>\
**Category:** Confluence Server\
**Tags:** confluence-server\
**Created:** [February 20, 2020, 12:58pm UTC](https://community.developer.atlassian.com/t/how-to-customize-table-content-conditionally/35911 "2020-02-20T12:58:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YogeshMude](https://avatars.discourse-cdn.com/v4/letter/y/e0b2c6/32.png) [@YogeshMude](https://community.developer.atlassian.com/u/YogeshMude)\
**Post date:** [February 20, 2020, 12:58pm UTC](https://community.developer.atlassian.com/t/how-to-customize-table-content-conditionally/35911/1 "2020-02-20T12:58:55Z")

</div>

We are using Jira macro to show the filter result in confluence page in tabular format.  
Now we want to show the table column content should show conditionally …in jira the status will show…like if its done then in GREEN and if its In progress then in YELLOW.

So here we have a column called Billing Status with Running, started and Done…so if the billing status is Running then it should show in YELLOW, if its started then it should show RED etc…

---

<div class="post-metadata">

**Author:** ![celestecs.supp](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@celestecs.supp](https://community.developer.atlassian.com/u/celestecs.supp)\
**Post date:** [October 8, 2026, 6:30pm UTC](https://community.developer.atlassian.com/t/how-to-customize-table-content-conditionally/35911/2 "2026-10-08T18:30:29Z")

</div>

Hi, I’m with CelesteCS - our Conditions for Confluence app (Cloud and Data Center) does this out of the box. Wrap the table in a Conditional Rules Manager and add one Conditional Rule per color:

- “Element text is one of” `Done; Completed` → background green
- “Element text is one of” `In progress; Running` → background yellow
- “Element text is one of” `Started; Blocked` → background red

Set Applies to `[Status]` (the column header) and Affected elements `Whole row` if you want the whole row colored. There is also a ready-made “RAG status” preset, and if the column contains Confluence Status macros, “Element status color is one of” can color rows by the lozenge’s color.

Docs: [Conditional Rule macro - CelesteCS](https://celestecs.com/support/documentation/conditions/conditional-rule-macro)
