Forums

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

How do I find Find all tasks that are in the backlog for more than 2 weeks using JQL?

Vera Valshonok
Contributor
February 27, 2020

How do I find Find all tasks that are in the backlog for more than 2 weeks using JQL?

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
February 27, 2020

It depends on how issues enter your backlog. Typically this occurs when an issue is created. assuming that try the following

Project = xxxxx and status = "To Do" and createdDate <= startOfDay(-2w)

Vera Valshonok
Contributor
February 27, 2020

for us tasks can be moved from any status to t he backlog, not just after creation of the task, but fron any status in the sprints, future sprints

Jack Brickey
Community Champion
February 27, 2020

Then you need to find a way to incorporate the date it entered the status associated with backlog and still in that status. This is not simple and I would refer you to an old post that does a good job explaining this. I recommend adding a custom date field (entered backlog) and use a post function to add the current date to the field when an issue transitions into that status. Depending on your needs you may want to clear that field when an issue transitions out of that status as well.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events