Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×Hello!
I'm trying to make a query with JQL to get all the tickets created and updated during the last 3 months but with the query I'm showing here I can only get the tickets created during the month of November 2024.
Can you show me how to do it? What is wrong?
project = "HelpDesk” AND (created >= startOfMonth(-3M) and created <= endOfMonth(-3M)) AND updated <= endOfMonth(-3M) order by created ASC
Hello @Alvaro Hernandez
The jql could be:
project = "HelpDesk” AND (created >= startOfMonth(-3) and created <= endOfMonth(-1)) AND (updated >= startOfMonth(-3) and updated <= endOfMonth(-1))order by created ASC
For issues of the created of the last 3 months from december to february, you could use:
created >= startOfMonth(-2) and created <= endOfMonth()
If you want the 3 last full months, from november to january, maybe you should use:
created >= startOfMonth(-3) and created <= endOfMonth(-1)
If you want only issues created and updated use 'and', and if you want issues created or updated in this period, use 'or'
I hope help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you specify what timeframe you want to cover?
Do you want to include all issues that are 3 months old or newer to the day? 04.11.2024 - 04.02.2025
Or only the issues that have been created in the previous three months? 01.11.2024-31.01.2025
Or something else entirely? ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to get all tickets from November 2024 to January 2025.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that case @Gerusa Lobo _e-Core_ gave you the answer already :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.