Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira filtres - checking the time spent in multiple status

Maxime Grosdoigt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 15, 2022

Hello, 

I would like to create a report to easily see if a ticket has spent more than 7 days in the same status. 

This is my current search: 

Project = CANDIDATE AND issuetype = Candidate AND NOT status changed AFTER -1w AND status in (Introduction, "Introduction feedback", Offering, Screening, "Screening feedback", "skills assessment", "Skills assessment feedback", Sourcing) ORDER BY created DESC

Context

- I have 10 different statuses on my board. 

- I already tried "statusCategoryChangedDate" but it's not answering my need since I am not talking about categories here :) 

- I have checked in a similar post an answer about:

AND NOT status changed AFTER -1w

But I still can't make it work.

My current Workflow:Screen Shot 2022-03-15 at 10.35.10 PM.pngThanks!

1 answer

0 votes
Trudy Claspill
Community Champion
March 15, 2022

Hello @Maxime Grosdoigt 

Are you trying to find issues that have spent more than 7 days in any status ever, or issues that have spent more than 7 days in their current status?

Maxime Grosdoigt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 15, 2022

Thanks for this question @Trudy Claspill 😀

Second option, I need to see the issues that have spent more than 7 days on their current status.

Trudy Claspill
Community Champion
March 15, 2022

I see that you have a criteria for "status in..." that lists all your statuses that are part of the "In Progress" Status Category. You could simplify your filter by changing that to 

statusCategory = "In Progress"

Using 

AND not Status changed -1w

should give you all the issues that have not changed status in the past 7 days.

Can you try simplifying your query to perhaps filter based on only one status (i.e. Introduction) to reduce the results data set? And can you tell us more about how the results you are getting don't match your expectations?

Suggest an answer

Log in or Sign up to answer