We are using Jira macro for representing Jira filter results to the confluence in table format.
Now we want the table Resolution should show conditionally like..is the resolution is Done then it should in Green and if it's another like unresolved then it should show in Yellow like so on.

I tried to search around his and found that i need to work on the user macro but i need help to how to get the table details and so on.
If anybody has gone through this before so throw some lights on it..so it will help me to get this done.