Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to customize columns in JIRA chart macro?

Stella Wong October 29, 2020

I've created a 2-dimension JIRA chart with labels as the x-axis.   However, I would only like the labels which I care about to show up in the columns instead of all labels tagged to the JIRA.   Is there a way to customize it?  

1 answer

4 votes
Katerina Kovriga _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.
October 29, 2020

Hi @Stella Wong ,

You may try the Table Filter and Charts for Confluence app. Wrap your Jira Charts macro in the Table Filter macro and hide the columns that your don't want to see.

Here is an example of our Jira Chart:

Thu 1-1.png

I use statuses instead of labels, but it is just an example - we simply don't use enough labels to illustrate the case.

So, let us pay attention only on the IN PROGRESS and DONE statuses and hide the unnecessary ones:

Thu 1-2.pngThu 1-3.png

Hope it helps.

Stella Wong November 3, 2020

This worked, but is there a way to choose only the columns I wanted instead?   I want to see only the labels which I've created, but because other users are adding their own labels my table keeps dynamically changing.   Any idea how I can fix this?

Katerina Kovriga _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.
November 3, 2020

You'll need to use the Table Transformer macro instead of the Table Filter macro.

Wrap your Jira Chart into the Table Transformer macro, choose the Custom transformation, go to the SQL query tab and paste the following:

SELECT T1.'Assignee', T1.'Status Done' FROM T*

This is an example for my table from the previous screenshots to show only Assignee and Done column.

You need to select your own columns that you want to show. Type in T1. and you'll get a pop-up with all available columns of your table to choose from.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events