How to include JIRA story-points or percent-complete in a Confluence Gantt Chart

I'm developing a Gantt Chart in Confluence, based on project plans, dates, etc.  I'd like to include real-time JIRA data as well.  I know how to display a JIRA chart in Confluence, but instead I just want to pull out "percent-complete" out of a JIRA project (based on number of issues completed vs remaining, or maybe story-points completed vs. the total in the sprint).  Is there anyway to query a "number" like this from JIRA, which would then show up in a cell in my table and be rendered into the Gantt chart?

2 answers

Hi James,

You can use JQL to return a number in the JIRA Issue/Filter macro, then set the Display Options > Display As to the Total issue count radio button.  However, this will only work for "number of results", but you could use one macro for "number of issues set to done" and one macro for "number of issues set to not done" and use the charting functionality to perform a calculation/visualisation on those 2 numbers.


Thanks for the suggestion, but when I use the JIRA issue/filter macro and set it to display "total issue count", it still displays it as a macro:


Trying to use that in a chart gives the error "'Getting issues...' could not be converted to number."  Looks like the chart is rendering the table before the JIRA macro can return the number.  However, I'm not sure that the macro output could be interpreted as a number anyway.  I might have to manually set the percent (based on JIRA macro output)...

Hello James,

Posting the answer here for other users. Chart from Table macro provided by Table Filter and Charts add-on solves the problem.


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,114 views 17 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you