Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Combination Pie Chart with JQL tables

My goal is to have a single PIE chart that will produce a percentage based on values from two tables being fed by JQL.

JQL1 - produces story points
JQL2 - produces bugs

 

I'll need to total both JQL1 and JQL2, which seems to be no issue but produces 2 pie charts, and then have the final pie chart complete:

JQL2 / JQL1

to show defect density as a pie chart percentage

2 answers

Hi @Matt Wilson ,

You may check the Table Filter and Charts for Confluence app.

You'll need to wrap your Jira Issues macros and an additional mini-table first into the Table Transformer macro and then into the Chart from Table macro.

Transformer 1.pngThe first step is to sum your story points and count the number of your bugs. If I've got your case slightly wrong, keep in mind that it is just an example and the Table Transformer macro allows you to perform various kinds of calculations.

Transformer 2.pngHere is the SQL query for you to copy:

SELECT (SELECT T1.'Issue Summary' from T1) as 'Issue Summary',
(SELECT SUM(T2.'story points') from T2) as 'Total Stories',
(SELECT COUNT(T3.'Key') from T3) as 'Total Bugs'

Transformer 3.png

Now let's create the required Pie chart:

Transformer 4.pngTransformer 5.pngIf you visit our documentation (I've given links at the beginning of the response), you'll see a lot of different use cases: our macros are flexible and can be combined differently to simplify and visualize custom reports.

Hi @Matt Wilson ,

This should be possible using our app Custom Jira Charts for Confluence. It's a charting and reporting macro that allows you to create custom reports in seconds.

Using the Custom JQL feature you can total any values you need directly on the pie chart without writing any additional code.

You can also change the COUNT selector to change the count from Issues to Story Points, or any other value you need.

Custom JQL Pie CHart.png

 

You can try this right now for yourself on our interactive app playground: https://www.oldstreetsolutions.com/jira-reporting-playground

I hope that helps answer your question 🙂

Kind regards,

Tom

Custom Charts Product Manager

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

79 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you