Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,499,215
Community Members
 
Community Events
179
Community Groups

Open issues or closed in the current quarter

Hello!

I want to write a filter that will shows issues that are not closed or done (Open, In progress and etc.) or that we resolved in the current quarter of the year. 
I do not want to use static dates because I do not want to update filter every quarter. 
What are my options? 

For now I use something this but this is not correct. 

project = KMD AND issueType = Story AND
(status not in (Closed, Done)
OR (status in (Closed, Done) AND updated > startOfMonth(-2) )) 

Example: 

Now is 2nd quarter and it is 1st of May (2nd month of 2nd quarter)
So I want to see features closed from (1st of April to now) 

Task is in progress -> show it
Task is closed and it was closed 15 of April -> show
Task is closed and it was closed 29 of March -> hide

Thank you!

1 answer

1 accepted

3 votes
Answer accepted

Hello!

I dont know of a way to search for the current quarter in JQL.

However, this query will return all issues created in the first quarter of the current year. Maybe it helps you, even though its not really what you were looking for:

created >= startOfYear() AND created <= startOfYear(3M)

Thank you very much! 
I thought about something crazy like 

project = KMD AND issueType = Story AND (now() > StartOfYear() and now() < StartOfYear(3M) AND resolved >= StartOfYear() AND resolved < StartOfYear(3M)))

 

but I cannot use now() as a field. And as far as I understand there is nothing like sysdate or current_date

Yeah im afraid you cant do that afaik.

You would have to make 4 filters is how i see it. One for each quarter.

project = KMD AND issueType = Story AND (resolved >= StartOfYear() AND resolved <= StartOfYear(3M)) 


project = KMD AND issueType = Story AND (resolved > StartOfYear(3M) AND resolved <= StartOfYear(6M))

and so on...

Like # people like this

Oh thank you!
I think this will suit the team :) Great idea just to separate and create several filters. 

I'm glad i could help!

Thanks for the feedback :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events