The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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!