Can not filter the issues by date without BY conditions

Works well, find 1 result

status was Reopened AFTER startOfDay(-1) BY "qi.chen"


Not Work, find all results including the ones Reopened before yestoday

status was Reopened AFTER startOfDay(-1) 


JIRA v6.0.3#6099-sha1:c205478

2 answers

1 accepted

0 vote

The first clause "status was reopened" means what it says - the status was that at the time defined by the "after" clause.

An issue could have gone into that status at any time.

Thank you for your feedback, I mean why "status was Reopened AFTER startOfDay(-1) " return all Reopened issues.

It's the same answer, but I can see why my answer is not clear.  I'll try to phrase it differently:

Let's take the query and rewrite it in natural English:

status was Reopened AFTER startOfDay(-1)


Tell me all the issues where the status was Reopened after the start of yesterday

Read carefully - it's not about the status changing, it's asking what the status currently is.

I am guessing here, but I think you are looking for the change of status, not the value of the status.

If that's right, then your question is really "issues who were changed to reopened after...", so try "status was changed to reopened after..."

It's clear, so how to make a jql query of "status was changed to reopened after..."? thanks a lot!

It's literally to use "... and status was changed to reopened after ..." as a clause in the jql.  You should find the autocomplete can help though

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

583 views 6 10
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot