The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

how to create pie chart comparisons results jql

Jerfeson Guerreiro
Contributor
July 9, 2019

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Deleted user
July 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!

-kalyani

CQ-0709.PNG

Jerfeson Guerreiro
Contributor
July 10, 2019

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.