Filter for Issue older than 30 minutes

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? 

3 answers

1 accepted

3 votes
Gaston Valente Community Champion Mar 07, 2017

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 )"

6 votes

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

4 votes
Sam Hall Community Champion Mar 07, 2017

You just need to change the part that says:

createdDate > -30m

To: 

createdDate < -30m

So try this:

assignee is EMPTY AND (createdDate >= startOfYear() AND createdDate < -30m )

Sam

Sam Hall Community Champion Mar 07, 2017

Nic's answer is better because he explains why : ) 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

15 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you