JQL BEFORE predicate and relative formats

I'm trying to find issues in certain status for which the transition took place before X hours/minutes etc.

status = "STATUS ABC" and status changed to "STATUS ABC" BEFORE -2h

The syntax seems syntactically valid but I don't get the expected results. Any ideas?

1 answer

0 votes
Dates and times are numbers. So try greater and less than symbols < and >. I think your clause will be status changed to x > -2h ( that means "a time greater than two hours ago" or "in the last two hours"


the comparison operators "<" , " >", etc. are not valid for the "CHANGED" operator, only BEFORE or AFTER

Bother, sorry, I forgot that, I was looking just at the date/time element, it had just come up at the office.

Before and after only accept absolute date/time as far as I know.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,949 views 19 22
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