How to count the number of comments in JIRA

I want to create a problem filter that shows me the number of comments for each problem, and then sorts them.

I tried something like:

project = "myProject" AND created >= 2012-06-01 AND created < 2012-08-01 ORDER BY count(comment)

I'm on JIRA 4.2. How to do it?

+5
source share
1 answer

The easiest way I can come up with is to use the JIRA Toolkit Plugin (from Atlassian) , which will add a custom field to count comments:

number_of_comments_field

Than you can use JQL to sort by the number of comments. For example, if a custom field is called Comments count, use the following query:

project = "myProject" AND created> = 2012-06-01 And created <2012-08-01 ORDER "Comments"

+6
source

All Articles