How find issue from jql witch in status = 7 day ?

Alex
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.
November 15, 2024

Hi, atlassian community!

Please i need your help !)

How  i can  find issue from jql , witch in status = 7 day ?

(no more and no less)


3 answers

1 accepted

2 votes
Answer accepted
Bill Sheboy
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.
November 15, 2024

Hi @Alex 

With the built-in features of JQL, this condition can only be detected relative to "now", and cannot find the information for other days in the past.  If you want to search issues meeting this criteria in the past, please investigate marketplace addons to enhance JQL or reporting.

 

Assuming you want this relative to "now", there are several parts to detect what you asked:

  • an issue is in status X
  • the issue transitioned to status X exactly 7 days ago
  • the issue has not transitioned to any other status during the last 7 days

If the status was "In Progress", this may work for you:

project = yourProjectName
AND status = "In Progress"
AND status CHANGED TO "In Progress" ON -7d
AND NOT status CHANGED AFTER -7d
ORDER BY Key ASC

 

Please review this documentation to learn more about creating queries with the status changing operators: https://confluence.atlassian.com/jirasoftwareserver100/advanced-searching-operators-reference-1442844125.html

 

Kind regards,
Bill

Marc - Devoteam
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.
November 15, 2024

I learned something, mine didn't work as expected.

It also gets issues set in a status ago, but if you change the status and then put it back in the previous status it pops up in the filter based on historical change being within the timeframe.

Like Alex likes this
Alex
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.
November 17, 2024

@Bill Sheboy Hi! Thank you for answer! It's worked! 

Like Bill Sheboy likes this
0 votes
Doreen Undiri
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.
November 15, 2024

Hi @Alex 

You can use 

status changed TO "Your Status Name" DURING (-7d, -7d)

whereas 

status changed TO "Your Status Name": This will Filters issues that transitioned to the specified status.( replace the your status name with the actual status of the issues)

 

and

 

DURING (-7d, -7d): Matches issues that changed to this status exactly 7 days ago

 

goodluck 


dd

Alex
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.
November 18, 2024

@Doreen Undiri Hi! Thank you !

0 votes
Marc - Devoteam
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.
November 15, 2024

Hi @Alex 

You cold use the following JQL:

status = "Your Status" and status changed to "Your Status" during ("-7d","7d")

this will give you an issue set to a status 7 days ago and still is in that status.

Alex
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.
November 18, 2024

@Marc - Devoteam hi! Thank you!

Like Marc - Devoteam likes this

Suggest an answer

Log in or Sign up to answer