Forums

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

Is there a way to search for tickets logged within the past n days?

Nitzan Matzkevich September 22, 2020

I'd like to search for tickets logged in the past 2 days, for example. I don't want it to be based on specific dates. I'm looking in all projects, so there could be lots of tickets, and I don't want to list all but only those logged in the past n days.

Is there a way to do this? Or is the only way to list all and sort the "created" by DESC?

2 answers

2 accepted

0 votes
Answer accepted
Jack Nolddor _Sweet Bananas_
Atlassian Partner
September 22, 2020

If 'logged' refers to worklog feature you can use this instead:

worklogDate >= -2d

Regards

Nitzan Matzkevich September 22, 2020

So this is not just tickets logged, but those updated too. Right?

That's good to have.

Thanks!

0 votes
Answer accepted
Mehmet A _Bloompeak_
Atlassian Partner
September 22, 2020

Hi @Nitzan Matzkevich ,

You can seach ticket by below jql.

created >= -2d order by created DESC

-2d means in the last 2 days.

Nitzan Matzkevich September 22, 2020

Perfect. That's what I was looking for.

Thank you!

Suggest an answer

Log in or Sign up to answer