I want to insert a Jira macro in Confluence that sums story points for a JQL query
Asked by Alex Hadden-Boyd:

I really like the ability to insert a Jira macro in Confluence. I've used it count the number of issues that match a JQL query, but I'd like to use it to total the story points included in the issues returned by the JQL.


Answers:
author: Ste Wright
body: Hi [@Alex Hadden-Boyd](/t5/user/viewprofilepage/user-id/3515214)

Which gadget did you use in Jira for this?

There are a set of Jira macros in Confluence Cloud - you can see if yours is available by:

1. Go to a Confluence Cloud page and press Edit
2. On the top navigation bar, select the "+" button and at the bottom of this drop-down, select "View More"
3. Select "External Content" to see reports and gadgets which are available

If it's not available - or not possible via the gadget you've used for issue count - you might need to consider alternate options for displaying data in this manner - such as [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) from the Marketplace.

But let us know what the gadget is and if it's available via the instructions above :)

Ste

comments: author: Alex Hadden-Boyd
body: I used Jira. I don't see any additional Jira options when I view more or select external content.

Thanks,

Alex


author: Ste Wright
body: Hi [@Alex Hadden-Boyd](/t5/user/viewprofilepage/user-id/3515214)

What gadget on Jira or Confluence did you use for counting issues?

Ste


author: Alex Hadden-Boyd
body: I used the Jira Macro (out of the box) and choose display as Count.


author: Ste Wright
body: Hi [@Alex Hadden-Boyd](/t5/user/viewprofilepage/user-id/3515214)

Great - unfortunately, not a macro that can be used for sum of story points.

In these instances I would consider an app like Table Filter and Charts.

Ste


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Alex Hadden-Boyd](/t5/user/viewprofilepage/user-id/3515214) ,

As I can see, you were recommended to use the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app to work with the Jira Issues macro in Confluence.

Our add-on really works with the Jira Issues macro just fine and allows you not only to perform calculations and create pivots, but make visualized dashboards right in Confluence. You can find different examples [here](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/42242009/story%20points_3.png?version=1&modificationDate=1572272176000&api=v2&effects=border-simple,shadow-kn)

As your hosting type is Cloud, you'll need the [Table Toolbox](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Toolbox+macro) macro to nest several macros. Other steps won't differ.

comments: author: Simon Berdal
body: [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) please stop spamming the forum with advertisement. At the very least, please make sure to clarify that this is a commercial product, and that you're affiliated with it.


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Simon Berdal](/t5/user/viewprofilepage/user-id/4452989) ,

To get rid of any confusion, I confirm that the Table Filter and Charts for Confluence app is a paid add-on developed by our company Stiltsoft (according to the guidelines I have the company name attached to my own name).

I also use "our app", "the app we provide", etc. while answering. And I also give links only to the Atlassian Marketplace, not any substitutes or smth.

Sorry again for the confusion.

So to anybody who may come across this thread, I repeat that the mentioned app is a **3rd party plugin made by our company (that is Stiltsoft)** and it is a **paid** one.


Tags: cloud

macro