How to write a JQL to find issues status changed between two dates which include the TIME?

Scarlet Fitness June 20, 2019

This questions has been asked but the answers do not include time. The following works but we need to add the time to this jquery and it doesn't seem to work:

 

status changed during (2019-06-01, 2019-06-20) to (Approved)

 

Adding time to the date ranges results in an error.

2 answers

2 votes
Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 20, 2019

status changed during ('2019-06-01 10:00', '2019-06-01 12:00') to (Approved)

Jindřich Löffler June 4, 2020

Hi, this works well. Thank you.

Please is there a way how to filter by person who made that change ? 
I´ve tried  "status changed BY (username)" but it will not filter that specific change but any change that was made during task life cycle.

Thank you

NIKHIL KUMAR January 13, 2021

Does the dates mention in during refers to the updated Date on the Jira ?

Emily Ewart January 11, 2022

I think it refers to the jira transition date, but not totally sure

Emre Toptancı [OBSS]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 12, 2022

This should work...

STATUS Changed AFTER '2019-06-01 10:00' BEFORE '2019-06-01 12:00' TO Approved BY username


See this doc page for details:

https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-operators-reference-939938745.html#Advancedsearchingoperatorsreference-CHANGEDCHANGED

Like Matt Powers likes this
0 votes
Emily Ewart January 11, 2022

If I wanted to get all Blocked tickets that are at least 3 weeks old, how does the syntax for these fields "(+/-)n(yMwdm)" end up working? Because the below doesn't.

status changed DURING (endOfWeek(), endOfWeek(-3w)) TO (Blocked)

Emre Toptancı [OBSS]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 12, 2022

The startOf... endOf... functions take parameters in their own units. You don't specify a unit.

In other words:

endOfWeek()  means the end of current week,

endOfWeek(-1) means the end of last week,

endOfWeek(-2) means the end of the week before the last,

... so on.

Like Matt Powers likes this

Suggest an answer

Log in or Sign up to answer