Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

how to create pie chart comparisons results jql

I would like to create a report using JQL which shows me the incidents that were solved within 30 days from the date of creation of the incessant and show in a pie chart, comparing with the rest of the reports, could you help me?

1 answer

1 accepted

1 vote
Answer accepted
Deleted user Jul 10, 2019

Hi @Jerfeson Guerreiro - 

The closest that is possible with JQL is to find all issues that stand resolved at the time of running the JQL and that are created in the last 30 days. So, all the issues created in the last 30 days and resolved can be filtered using (project = abc AND created >= -30d AND status = resolved). 

If you are looking at all the issues that ever got resolved in a 30 day period from their creation date, then JQL by itself may not work. You have a couple of approaches to consider, if you will. One is to bring a custom (calculated) field that will calculate and store the difference between resolved and created date (once an issue is resolved, possibly in a workflow post function step). The other option is to exercise scriptrunner or other similar add-ons that give extended help on JQLs.  

Once the filter is ready, we save it and use it in the pie-chart configuration. And the statistic in your pie chart could be 'Assignee' if you are filtering issues and wanting to arrange these by assignee.  Hope this helps!



I have chosen to create an isolated field by using the jira's webservice to populate this fields and group the data and use it in the pie chart

The jira needs to enable grouping of data, it would be an excellent improvement.

Thanks for the answer.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Partner Webinar Opportunities: January 2022

Hi everyone 👋, I really like the format of the webinar opportunities summary that @Jimmy Seddon posts monthly on the Welcome Centre group. It's a great place to go to check that you didn...

139 views 3 11
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