How do i create a Date Range that is the Current Quarter

Ahmad Haynes
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!
July 28, 2020

Hello All, 

I am trying to create a report that focuses on just the current quarter. Whenever the quarter changes, the report should change automatically 

I am looking for this code 

status = Closed AND created >=

 

Unless it's a different code

1 answer

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 28, 2020

You would need to create 4 different filters, one for each quarter. E.g.

Q1 - Project = fit and resolutiondate >= startofyear() and resolutiondate < startOfYear(91d)

Q2 - Project = fit and resolutiondate >= startofyear(92d) and resolutiondate < startOfYear(182d)

 

the above would show all issues resolved in a quarter. Adjust to meet you exact needs of course As well as actual number of days in the quarter and consider leap year.

you might also consider looking ad Dashboard gadgets some of which have monthly and quarterly granularity, e.g. a Created vs. resolved.

finally consider a PowerBI like solution or even excel itself,

Ahmad Haynes
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!
July 30, 2020

So there isn't one code that allows the system itself to change quarters for you automatically? 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 30, 2020

not that I have ever seen.

Gene Wood
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 24, 2024

I had thought startOfYear("91d") returns the start of the year which is 91 days in the future, not the start of the year + 91 days. (e.g. if today is March 1st 2024, then startOfYear("91d") returns January 1st, 2024, not May 31st, 2024)

 

But I was mistaken.

 

I got confused as I was trying to represent months with "3m" but "m" is minutes, I should have been using "3M" for 3 months.

Suggest an answer

Log in or Sign up to answer