Forums

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

JQL Group By function

Subhrangshu Choudhury
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 28, 2018

Hello,

I am trying to generate a report from JIRA which can show me defects raised every month. Say month January I have 10 defects and in month February I have 7 defects.

I want the JQL to give me a report as below:

JAN 10

FEB  07

and so on...

 

Please let me know if this is possible in a single query to filter all the defects count for all the months.

 

Regards

Subhrangshu

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
March 28, 2018

JQL (filtering) and reporting are two separate things.

JQL / filters find issues.  That's it.  They have nothing to say about how they are displayed or reported on.  That's up to the reports you use them in.  You can easily filter for "issues per month", because you can use things like "created > startofmonth(x) and created < endofmonth(x)", but the JQL for "all issues I want to see" is simply going to give you all the issues.  The JQL cannot have anything to say about grouping the results up because it is just a search.

The only way I can think of doing this is for you to create one filter for each month, and then put each filter in its own gadget on a dashboard.

Subhrangshu Choudhury
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 28, 2018

Thanks Nic for the reply. I got your point when you say JQL and reporting are two separate things. But now as I have a suggestion as you mentioned to filter for each month separately and then put them on a gadget.

Just wanted to know, is it possible to put each filter result in a single gadget (or what ever) which can show the data like a report. May be, if we create a page in Confluence where we select each filter (for each month) and see the result in a single sheet/ gadget/ what ever  that can show the best output.

 

Thanks

Subhrangshu

TAGS
AUG Leaders

Atlassian Community Events