I have a subscription that uses a filter that will email me all unassigned issues. I would like the filter to only email me only if the issues are older than 30 minutes and the have not been assigned. It tried createdDate > -30m but this doesn't seem to work. Can anyone help?
Hi, can you try created < -30m and assignee is EMPTY ?
This is my filter and it does not return issues "assignee is EMPTY AND (createdDate >= startOfYear() AND createdDate > -30m )"
You need to reverse the operator. Computers tend to think of human date/time as "a count of time fragments (usually milliseconds) since a base date". So "half an hour ago" is "now - 30 minutes"
Your createdDate > -30m is thinking backwards, using "now" as a zero point, but that's wrong, because the zero point is (usually) in 1970.
Half an hour ago is -30m, yes, so "created > -30m" means "created less than 30 minutes ago"
You need createDate < -30m
You just need to change the part that says:
<span>createdDate ></span> -30m
<span>createdDate ></span>
-30m
To:
<span>createdDate <</span> -30m
<span>createdDate <</span>
So try this:
assignee is EMPTY AND (createdDate >= startOfYear() AND createdDate < -30m )
Sam
Nic's answer is better because he explains why : )
It looks like you're new here. Sign in or register to get started.