Sum custom fields value in confluence page from JIRA ticket
Asked by Mani Sundaram:

my JIRA project ticket have below custom attributes

Passed:

Failed:

Blocked:

we want to sum up the custom field with JIRA ticket's fix version/label and show the status in a confluence page

Ex:

WOW-1001 - Label=Login

Passed: 10

Failed: 0

Blocked: 0

WOW-1002 - Label=Login

Passed:5

Failed: 3

Blocked: 2

In the confluence page, we want to show like the below table:

\|Module \|Passed \|Failed\| Blocked \|

\|Login\| 15\|3\|2\|

**Note**: is there a way to do this without paid add on?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Mani Sundaram](/t5/user/viewprofilepage/user-id/2780712)

It is not possible to perform calculations and create pivots in Confluence out-of-the-box.

We can recommend you to check our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview). It works with the Jira Issues macro perfectly well, and you'll be able to filter your issues, make pivots and even [visualized dashboards](https://docs.stiltsoft.com/display/public/TFAC/Using+Table+Filter+and+Charts+in+Combination+with+the+Jira+Issues+Macro).

![](https://docs.stiltsoft.com/download/attachments/42241725/aggregating%20by%20assignee_2.png?version=1&modificationDate=1572272173000&api=v2&effects=border-simple,shadow-kn)

comments: author: Mani Sundaram
body: thank you [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) , will give a try on this addon in confluence and let you know if I need any details


author: Mani Sundaram
body: Hi [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746)

I am seeing an issue with Jira Macro

Jira Issue Macro Example: project = XXX AND Labels in (LABEL1, LABEL2) and adding up the needed columns to display from Display Options.

Is it possible to wrap this **Jira Issue Macro** in the **table filter** ? If yes, can you share how to perform it/steps?  
**Note**: I'm unable to copy the output of Jira Issue Macro


author: Katerina Kovriga {Stiltsoft}
body: For the Cloud Confluence instances use the [Table Toolbox](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Toolbox+macro) macro to nest several macros. You won't be able to do it manually because of the Cloud editor limitations.

Insert the Table Toolbox macro on your page and then insert the Jira Issues macro right into its body.

![Mani 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/102244i1C3A18A8779FFF6A/image-size/large?v=v2&px=999 "Mani 1.png")You'll got smth like this:

![Mani 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/102245i4026A3CFDA045C2C/image-size/large?v=v2&px=999 "Mani 2.png")Now go to the Table Toolbox settings - there you'll see your Jira Issues macro. Drag and drop the icons on the left and wrap your Jira Issues macro into one or several macros of our app (it depends on your use case).

![Mani 3.png](https://community.atlassian.com/t5/image/serverpage/image-id/102246i6B6104E72E18E605/image-size/large?v=v2&px=999 "Mani 3.png")Then go to the macro settings (for example, the Table Filter macro as is shown in the picture below) and implement your case.

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


Tags: cloud