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

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

How to add column to jira filter result in confluence

How to add column to jira filter result in confluence

Say JIRA filter returns key and summary

I need to add Impact column for each result

2 comments

Hi @Nidhi ,

It seems that it is a duplicate question for this one.

Still I'll repeat my previous answer here: you may check this thread (my second answer) with the same case exactly.

The solution is based on our app - Table Filter and Charts for Confluence. The answers are detailed and with screenshots - you may just repeat everything step-by-step.

Like # people like this

Thank you for your quick response!! 

let me add some details to my problem

I need table like below; where in Issue Key and Summary would come from JIRA filter and users has to fill data for other 2 columns( Why did it happen(Explain root cause of defect),How did it escape?) against each row returned from JIRA filter.

Would your solution work in this scenario. Kindly help as I am struggling from past few days

Excel.PNG

Yes, it doesn't matter which manually created table you want to add (it can have any columns you want).

The Jira Issues table will be matched with the manually created table by the unique Issue Key field.

One quick question: can we use data returned by JIRA filter macro as table

would the user be able to edit merged table manually for the columns (WHY did it happen and HOW dir it happen)

I tried with table transformed in edit mode, it showed 2 table instead of merged table

In edit mode you will be able to edit you manually created table (add rows/columns, fulfill Why.../How... cells) and every time you publish the page you'll see your merged table.

I have used below query in SQL for table transformer

SELECT T1.'Key', T1.'Summary', T1.'Resolution' FROM T1 UNION SELECT T2.'Why did it happen(Explain root cause of defect)?',T2.'How did it escape?', T2.'Where should we have caught it(Defect Determination)?' from T2

 

In above I am not getting T2 columns in merged table

You don't need to use any custom SQL - choose the Look Up preset and combine you tables by the "Key" column.

And don't forget to add the "Key" column to your second manually created table! 

Wed 1-1 (1).png

We should be able to match the two tables by the unique "Key" column

Like Nidhi likes this

I dont have any common data in my tables. As I told you, for first table I am getting data from JIRA Issue/Filter

As I have mentioned before, you should have something common to merge your tables - for your case it's the "Key" field.

For the first table it's generated automatically by the Jira Issues macro.

For the second table it's a manually created column. You type in the key of the issue that you want to comment on and leave some text into the Why.../How... cells.

And the Table Transformer matches the keys from the two tables and combines the result table.

If you don't have anything common between your tables, then the Table Transformer macro won't know to which issue your comment belongs. Besides the Jira Issues macro is a dynamic macro and its output changes on the fly.

thank you..Actually I need table data which changes dynamically based on JIRA Issue/FIiter macro

Let's wait for the answers from other vendors, but I really can't come up with a better solution.

If both of your tables come from the Jira Issues macro, then you may merge them automatically by a unique field (see an example here).

But if you need to add comments by hand in Confluence, then you really have to follow my solution with a manually created "Key" column.

thank you for your help..

The simple need is to have columns from JIRA macro along with few custom column whose data user has to fill in. This table should be dynamic based on JIRA macro results.

Can you guide me in case I could do some coding or have data synching from excel to confluence where in I will have excel data dynamically loaded from JIRA

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,463 views 7 29
Read article

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