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 votes

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)

becomes

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
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,121 views 13 19
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
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