Forums

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

How can I create a query to see all the tickets created each week Thursday to next Thursday

Meenakshi Pandeya December 29, 2023

I need to have a query where I can see all the tickets created within a week from Thursday to Thursday

3 answers

3 votes
Trudy Claspill
Community Champion
December 29, 2023

Hello @Meenakshi Pandeya 

Are you using Jira Cloud or Jira Server/Data Center?

One method that works in both is to create a saved filter that selects all issues created in the past 7 days:

created >= -7d and created is < startOfDay()

Save that filter. Then set up a Subscription to that filter to email you the results each week on Thursday.

https://support.atlassian.com/jira-software-cloud/docs/manage-filters/#Subscribe-to-a-filter

The filter itself is not specifically getting the issue created between one Thursday and the next, but because you get the results mailed to you on Thursday, and it is selecting the issues created in the past 7 days, you are effectively getting the list of issues created between the current Thursday and the past Thursday.

Meenakshi Pandeya January 3, 2024

I am trying to use in a gadget for the Dashboard so that it keeps updating itself.

2 votes
Evgenii
Community Champion
December 30, 2023

Hi, @Meenakshi Pandeya 

You can use in query parameter startOfWeek.

Try this query:

created <= startOfWeek(5d) AND created >= startOfWeek(-3d)

Meenakshi Pandeya January 3, 2024

I am still not seeing just for one week.

Evgenii
Community Champion
January 3, 2024

Hi, @Meenakshi Pandeya 

It's strange, because my query looks for issues, created in specific interval, always linked to current week. It searches for issues between previous and current Thursdays.

What's wrong with results, that you receive?

Meenakshi Pandeya January 3, 2024

I am seeing all stories created so far.

Meenakshi Pandeya January 3, 2024

It's working now! Thank you so much!

Like Evgenii likes this
Evgenii
Community Champion
January 3, 2024

Great. If answer helped you, please mark it as solution. It will help other people with similar problem

0 votes
Craig Nodwell
Community Champion
December 31, 2023

Hi @Meenakshi Pandeya here's a reference for your review.

Suggest an answer

Log in or Sign up to answer