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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 6 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

66 views 2 3
Read article

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