Forums

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

JQL filter to see tickets closed in certain projects over last 2 days?

Amy Blower
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!
November 25, 2022

Hi all, I need to create a filter to show tickets closed on two specific projects in the past two days and not all current running projects - thanks!

3 answers

2 votes
Max Foerster - K15t
Community Champion
November 25, 2022

Hey @Amy Blower , welcome to the community! :)

There's a really good documentation about JQL available in the official docs, which explains all functions, fields, operators, etc. It's perfect for everyone who wants to dive deeper into building JQL queries. You should definitely check it out:

And now, to your question: what is the challenge for you here? You know the specific projects, right? So start building your query:

project in (Project1, "Project 2", .....) AND

And when you close issues, do you have different statuses that you want to look at and are you also setting a resolution in these statuses? You could try something like this:

resolved >= startOfDay(-2)

Meaning the issues were resolved between the start of the day two days ago and now. Was that already helpful?

Best, Max

Bill Sheboy
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.
November 25, 2022

Hi @Amy Blower -- Welcome to the Atlassian Community!

Yes, and...to Max's answer:

There is some free, online training from Atlassian on learning how to answer such questions with JQL.  Please look here for a great example class: https://university.atlassian.com/student/path/849533-gain-project-insights-through-jql

Kind regards,
Bill

Like Max Foerster - K15t likes this
0 votes
Tom Lister
Community Champion
November 25, 2022

Hi @Amy Blower 

Depending on what you define as closed, you can do something like this:

project in (SSP,DT1) and resolved >= -2d
0 votes
Vedant Kulkarni_Trundl
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.
November 25, 2022

@Amy Blower please try something similar to this

project in ("Project2", "Project2") and resolutiondate >= startOfDay(-2)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events