Hello,
I would like to create a filtre using jsql with a relative date to get JIRA resolved within the last 30 days, something like :
- resolved>=now()-30
Any idea ?
Thanks
Hi,
try this:
resolved > -30d
Cheers
Thomas
It works, thanks a lot :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. I was looking something similar. It works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Along the same lines, how can I create a filter for issues that have due dates between today and the next seven days, inclusive?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
duedate > now() AND duedate < 7d
duedate > now() AND duedate < 7d AND resolution is EMPTY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is very useful. Is there a document/reference in JIRA that explains how to use this form? For example, can I use this form:
created < -1m AND duedate < 2y
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't do that, Valid formats are:
or a period format using w = weeks, d = days, h = hours, m = minutes
e.g. '-5d' or '4w 2d'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to you all!! Very useful information!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you mean issues that are both created and resolved in last 30 days, then this is the simplest notation:
created > -30d AND resolved > -30d
Only issues with Resolution set are resolved. If resolution is empty, the issue does meet "resolved" condition.
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.
How can I filter to see request created since 2018 till now. Please advise
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.
Hi, i need a query to show the tickets created greater than 6 months and less than 1 year from now.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
created < -180d AND created > -365d
You need to use days "d" as "m" is reserved for minutes and "M" doesn't work. See also Advanced searching - fields reference in Atlassian Documentation.
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.
Hi,
It worked for me too.
I needed to perform a trigger that obtains issues that were in a same priority during a specific period of time and then, move them to higher priority.
Thanks a lot for all your help!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am looking for a filter to pull issues created over 6 months ago. I tried created > -180d, created >= -6m, created >= endofmonth(-5) and none of them seem to work.
I also tried using createddate vs. created, but not getting the results I am looking for. Any ides on how to create this filter?
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.
created <= endOfDay(-6M) didn't work, but by making a minor change to your suggestion, it worked. I used created<=endOfDay(-180d). Thank you so much for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sometimes it works with "M", sometimes with "d", I don't get it ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can I create it with years? -3y doesn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about 36m?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of now() I did sth like this:
project = Rec AND "App Date" < startOfDay(-3y)
Now it works great.
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.