How can I add Jira labels to issues in a confluence table?
Asked by Souma Katorgi:

Hi everyone!

So I have a confluence page consisting of a table listing all product requirements - each requirement has a link to its corresponding Jira issue. In Jira, these issues have labels, and I want to see if I could add those labels to their corresponding issues in the Confluence table. The end goal is to be able to filter the table based on those labels - is this possible?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Souma Katorgi](/t5/user/viewprofilepage/user-id/4591545) ,

To display labels for your Jira issues, you should really use the standard table view of the Jira Issues macro as [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) has mentioned before.

But if you want to add manually created columns to your Jira Issues tables (for example, with notes about your requirements, projects, etc.) and filter your result table by labels, then you'll need additional apps, there are no such features out-of-the-box.

We can suggest trying our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud).

You may check [this thread](https://community.atlassian.com/t5/Confluence-questions/Can-I-dynamically-populate-the-fields-of-a-table-based-on-values/qaq-p/1505810) to know how to add columns to the Jira Issues macro with the help of the [Table Transformer](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro) macro.

And the [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Filter+macro) macro will help you to filter your table.

Note that for Cloud you'll need the [Table Toolbox](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Toolbox+macro) macro to combine (nest) several macros due to the new editor limitations. This macro is also provided by our app.

comments: author: Souma Katorgi
body: Hi Katrina, this is exactly what I'm looking for, ideally my team wants to be able to filter based on the labels. I'll check it out! Thank you so much!


author: Souma Katorgi
body: [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) Hi Katrina! I tried using your app and inserted a table of the Jira issues. However it's telling me I can't use the Table Filter macro on this kind of table:

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/164505iEA3AFADA5587A91E/image-size/large?v=v2&px=999 "Capture.PNG")

Is there a workaround for this?


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Souma Katorgi](/t5/user/viewprofilepage/user-id/4591545) ,

It's a very strange behavior for the app, we have plenty of [dashboards](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+the+app+with+Jira+Issues) based on the Jira Issues macro - please, raise a [support request here](https://jsd.stiltsoft.com/servicedesk/customer/portal/2/user/login?destination=portal%2F2).

Please, take a screenshot of this Jira Issues table without our macro in the page view mode and give us an approximate number of rows (issues) that you get via your JQL query.

Also please check if the macro works with Jira Issues macros with other JQLs.


author: Brant Schroeder
body: [@Souma Katorgi](/t5/user/viewprofilepage/user-id/4591545) Welcome to the Atlassian Community

I am assuming that you would like to do this dynamically and populate the table based on the labels associated with the issue. There is not really a dynamic way to get that information into a table cell. You can use the Jira Issue Filter to pull labels in.

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/164218i48ED22C5B2197245/image-size/large?v=v2&px=999 "Capture.PNG")

comments: author: Souma Katorgi
body: Thank you Brant! This was very helpful. Appreciate it


Tags: cloud

confluence-cloud