Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

JamesT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2017

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

0 votes
Andrey Khaneev [StiltSoft]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2017

Hello James,

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

 

0 votes
Rob Woodgate
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 26, 2017

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.

 

JamesT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2017

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:

issues.png

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)...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events