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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

66 views 0 5
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