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
Accepted answer

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

Down

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,787 views 18 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