How can I insert several Jira contents as a page property field in Confluence and output them as a r
Asked by Lukas M?hlemann:

I would like to insert information from Jira as page properties in a Confluence page so that I can make a summary (propertiereport) on another page.

When I use the normal Jira macro, the table is displayed with many columns and two rows. As a result, these can only be displayed completely in the report.

![image.png](/t5/image/serverpage/image-id/328053i7464DB21A904F80F/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/328055i19B70AFC302CA21C/image-size/large?v=v2&px=999 "image.png")I have tried to use the table transformer to display the table differently so that I get two columns and several rows. However, this table cannot then be displayed in the report.![image.png](/t5/image/serverpage/image-id/328057i3A974B167B9B3810/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/328062i0EC22D17045E5E24/image-size/large?v=v2&px=999 "image.png")

![image.png](/t5/image/serverpage/image-id/328059i0A55D8B5E979967A/image-size/large?v=v2&px=999 "image.png")

Can someone help me?


Answers:
author: Stiltsoft support
body: Hi [@Lukas M?hlemann](/t5/user/viewprofilepage/user-id/5513748) ,

Try to switch from the Page Properties/Page Properties Report macros to the Table Excerpt/Table Excerpt Include macros, they perform better with macro generated tables.

comments: author: Lukas M?hlemann
body: Hi [@Stiltsoft support](/t5/user/viewprofilepage/user-id/5062270)

nice try, but when I want to summarize several pages in one report, several tables are displayed. In the page properties report, these are merged into one table.![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/328071i17E9497547BA873B/image-size/large?v=v2&px=999 "image.png")


author: Lukas M?hlemann
body: When I use the Tabeltransformator it works.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/328079iEC4E615452291C56/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/328080i2EEDCA54C1406E07/image-size/large?v=v2&px=999 "image.png")

but I miss the option to select the fields that i want to show in the report. because I dont need all the informations in all of the reports.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/328081i4677E74617F89595/image-size/large?v=v2&px=999 "image.png")


author: Stiltsoft support
body: For the first point: check the "Show as a report" option in the Table Excerpt Include macro settings. Then your tables will be shown as a one combined table and you won't need the Table Transformer macro for merging.

What concerns the second point, you have two options:

* You may wrap your Table Excerpt Include in the Table Filter macro and hide the unwanted columns
* You may wrap your Table Excerpt Include in the Table Transformer macro and list the columns that you want to show (SELECT 'Column 1', 'Column 2', 'Column 4' FROM T\*)


author: Lukas M?hlemann
body: [@Stiltsoft support](/t5/user/viewprofilepage/user-id/5062270) Thank you!!


author: Roma Bubyakin
body: Hello [@Lukas M?hlemann](/t5/user/viewprofilepage/user-id/5513748)

What exact information would you like to show on the page?

comments: author: Lukas M?hlemann
body: Hi [@Roma Bubyakin](/t5/user/viewprofilepage/user-id/299873)

Information from a Jira issue, such as start and end date, assigne,...

However, I would like to have these as a single field so that I can compile and filter them in an overview.  
So that I don't have to enter and update the information manually in Confluence, I would like to import it dynamically from Jira.


author: Roma Bubyakin
body: I got it.

You can use our app [User Macro for Confluence Cloud](https://marketplace.atlassian.com/apps/1232013/user-macro-for-confluence-cloud?hosting=cloud&tab=overview) for that.

There are a lot of possibilities to customize it to your needs.

You can gather any information from Jira and Confluence.

Additionally, you can increase flexibility and reusability with User Parameters. In example below users can set particular project to be shown.

![image-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/328121iC8A33C2C67DD60AD/image-size/large?v=v2&px=999 "image-2.png")

Here is the template that could be changed based on your needs (I would be happy to help you with that):

```
#set ($res = $JiraManager.get("/rest/api/2/search?jql=project=${parameters.projectKey}&maxResults=3"))

<table class="aui aui-table-sortable">
  <thead>
    <tr>
      <td>Key</td>
      <td>Summary</td>
      <td>Assignee</td>
      <td>Created at</td>
      <td>Updated at</td>
      <td>Due</td>
      <td>Status</td>
    </tr>
  </thead>
  <tbody>

  #foreach ($issue in $res.issues)
    <tr>
      <td>$issue.key</td>
      <td>$issue.fields.summary</td>
      <td>$issue.fields.assignee.displayName</td>
      <td>$issue.fields.created</td>
      <td>$issue.fields.updated</td>
      <td>$issue.fields.duedate</td>
      <td>$issue.fields.status.name</td>
    </tr>
  #end

  </tbody>
</table>
```

Best Regards, Roman

Wombats Corp, CEO


author: Lukas M?hlemann
body: Thank you, but I am not authorized to buy any more macros.


author: Roma Bubyakin
body: It's ok.

Thank you, for the real-case example!


Tags: cloud

confluence-cloud

filter

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets

table-transformer