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

This widget could not be displayed.

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

This widget could not be displayed.

up

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

90 views 1 0
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