Forums

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

Filter for last 3 months

Roja Gurram
Contributor
July 10, 2020

Hi All,

Is it possible to create a filter that shows issues from the last 3 months?

 

 

1 answer

1 accepted

0 votes
Answer accepted
Sachin
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.
July 10, 2020 edited
Roja Gurram
Contributor
July 10, 2020

Hi Sachin,

Is this the article   created > startOfMonth(-2) ORDER BY created DESC or Query ? If article i have read this already JQL is not there for last 3 months.

Can you please provide the exact filter for last 3 months pls ?

Sachin
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.
July 10, 2020 edited

This is the JQL (filter) last three months:
- created > startOfMonth(-2) ORDER BY created DESC

Like • 2 people like this
Roja Gurram
Contributor
July 10, 2020

Thanks four help SACHIN.

Sachin
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.
July 10, 2020

Your welcome!

Laszlo Mako
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!
October 27, 2020

That won't always give you the last 3 months though, will it? If you're at the beginning of a month, say 3rd of Oct, startOfMonth() will get you to 1st of Oct, less two months, 1st of Aug, you'd only get 64 days.

I think what Roja was after is more like created > startOfDay(-90)

Like • 6 people like this
v.petrov
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!
June 9, 2022

is it possible to find ALL issues which were in some statuses, not only CREATED that period?

Jens November 21, 2022 edited

I guess it depends on how you interpret the question.

I would always interpret it as "Issues created within a period of 3 months back" in which case:
 - "created > -90d ORDER BY created DESC"
would be more accurate IMO as i 90 days roughly adds up to 3 months.

However, if your thinking of it as if I am on any day in October, I want the see issues created for the months August, September and October (the past 3 actual months) . then the other Query is correct.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events