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) ))
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
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...
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events