Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh thank you!
I think this will suit the team :) Great idea just to separate and create several filters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad i could help!
Thanks for the feedback :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.