Forums

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

Remove a specific row from a table

emagnun
Contributor
September 11, 2021

I have a used "Jira" macro to get the number of tasks for each team member. Below is the result of the macro. 

query.jpg

Now, using this table as an input to "chart from table" macro, I'm trying to show a bar graph for each assignee. But it also prints "Total Unique Issues" as assignee. How do I filter out this row?

I don't want "Total Unique Issues" in my chart, can I use table filter to remove this from my table before using it for Chart? Or will it need table transformer macro? Or any other suggestions? Thanks for your help in advance.

query.jpg

Update: 
======
I found a way using "table filter" to remove it. I just did a reverse filter for "Total Unique" and I could get it solved. Still I would like to hear more from experts, if any other methods.

 

2 answers

1 accepted

3 votes
Answer accepted
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.
September 12, 2021

Hi @emagnun ,

You've found the right solution with the Table Filter macro and its reversed filters. Hope that it didn't take long and you weren't stuck with the case.

Sun 1-1.png

What concerns the Table Transformer macro, it comes in handy when you need to display only several columns (not rows!) from a big table. So, you list the required columns in the custom SQL query and the macro will return only them.

For example, SELECT T1.'Assignee' FROM T*:

Sun 1-2.png

And if you need to hide several columns, then it is easier to use the Hide columns option within the Table Filter macro.

0 votes
Tinker Fadoua
Community Champion
September 11, 2021

@emagnun 

Did you try to create a filter (JQL) in Jira With the team members only? then import the macro to Confluence page and try the exact steps you did then see if you will get the graph you want.

Best,

Fadoua

emagnun
Contributor
September 12, 2021

@Tinker Fadoua Thanks for the feedback. 

The problem is that "Jira" macro adds this "total unique issues" thingy to the JQL query. So, if I am using this "Jira" macro, i need to filter it out explicitly. 

Btw, I was able to filter out by using a "Table Filter" macro (added reverse filter for "total unique") and now my graph is alright.

Still curious if there are other ways.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events