Forums

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

Is there a query element wherein I can query specific tickets using months?

Sherwin Soriano
Contributor
May 28, 2025

My manager would like to have a dashboard wherein, it will show how many tickets we close on a monthly basis.

I am not sure if there is a dynamic query that can be used to this.

3 answers

1 accepted

2 votes
Answer accepted
Izabela França
Community Champion
May 28, 2025

Hello, @Sherwin Soriano !

You can use the function startOfMonth() combined with the status to return items resolved in the current month.

Example:

status = Done AND resolved >= startOfMonth() ORDER BY resolved DESC

Here is the official documentation about this function [LINK HERE]

 

Hope it helps :)

Sherwin Soriano
Contributor
May 28, 2025

Thank you!

Is this query on a monthly basis? I did not know that ">=startofMonth()" is that parameter! :)

Izabela França
Community Champion
May 29, 2025

It always shows the current month, so if you check the search today it will show the work items resolved in May. But if you check it in July, it will automatically show the items resolved in July. You do not have to adjust the JQL for the next months.

0 votes
Danut M _StonikByte_
Atlassian Partner
May 28, 2025

Hi @Sherwin Soriano ,

Jira offers some JQL functions that would allow you to filter the issues by their resolution date:

resolved >= startOfMonth() - returns the issues resolved in the current month

resolved >= startOfMonth(-1) AND resolved <= startOfMonth() - returns the issues resolved last month

resolved >= startOfMonth(-2) AND resolved <= startOfMonth(-1) - returns the issues resolved 2 months ago.

But if you want this info to be displayed on a dashboard, it will be more convenient to use a gadget. you could try using Jira's Filter results gadget configured with a filter like this to list the issues.

You could also try Jira's Created vs. Resolved gadget, but as far as I know, it shows the issues created each month and how many of them were resolved. So it might not be what exactly you want.

For more accurate data and ease of use, my advice is to look for a plugin on the Atlassian Marketplace.

In case you consider the idea of using a plugin, our Great Gadgets app offers a Kanban Velocity / Throughput gadget that can display the number of issues closed per month along with the rolling average (velocity).

image.png

On its optional Data tab, it can display the issues resolved each month:

image.png

The same app offers a Pivot Table & Pivot Chart gadget that allows you to display the count of issue resolved by month and split by project, assignee or other fields. The result can be in form of a table, heat-map table or chart of various types. 

image.png

Hope this helps.

Danut

0 votes
Jonathan Tang
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!
May 28, 2025

You might consider the Dashboard tool, then the widget "Created vs Resolved" graph.  All you need to do is pre-create a filter based on the project or criteria you want.

No need to set a rolling date filter.  The widget will do it for you.  Just configure it for monthly. 

The business value here is it also trends the tickets created. So if the team is slowly falling behind, you can argue the need for more resources - either proactively with better code delivery, or reactively, with more support staff to fix the problems.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events