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

This widget could not be displayed.
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 )"

This widget could not be displayed.

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

This widget could not be displayed.
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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

140 views 1 3
Join discussion

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