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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Filter Table in Confluence (Colours)

I have a a Jira filter table on my Confluence page. The filter picks up issues with a variety of labels, for the sake of explanation lets call these labels:

  • Label1
  • Label2
  • Label3

I would like to know if it is possible to colour code these issues on the Confluence page based on which label each issue has. For example, if an issue has "Label1", colour code it red in the Jira filter table. If the issue has label "Label2", colour code it green in the Jira filter table. If issue has label "Label3", colour code it blue in the Jira filter table.

This colour code could be a dot next to the issue, change the colour of the text, or colour the background of the table entry. How it is coloured doesn't really matter, I just need a way to differentiate between issues with different labels that are called by the same filter.

Does anyone know if this is possible, or have an alternative solution?

3 answers

Hi @Oliver Thomas Gatland and welcome to the community!

I would guess that it should be possible to achieve, but one probably have to add some Custom HTML/CSS to Confluence (found in Confluence Administration) or in a Custom HTML macro put on the page in question.

For example do I use the following CSS (Added in Confluence administration -> Stylesheet) to highlight the rows in the Jira filter table macro in Confluence:

/*Set header row in JIRA Macro List to color*/ 
.jira-issues .jira-tablesorter-header{
background-color:#B1A297;
color:white;
}

/*Set every second row in JIRA Macro List to color*/
.jira-issues .rowAlternate{
background-color:#FAFAFA;
}

 

I am not certain how to go forward with the solution you need, since I havent performed that kind of work before, but I hope someone else in the Community are able to help you.

Hello @Oliver Thomas Gatland 

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

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you