I am trying to create a JQL formula that will show me all of the "active" tickets within a date range that my team is working. As of now, I was using "created" as the driver for the formula but realize that this does not include tickets that were created prior to the date range but the team is actively working. Has anyone created a SQL formula like this? If so, would you mind sharing the language you used for:
Hi @Kurt De La Rosa !
Maybe a JQL like this one could help you?
project = x and status was Open DURING( "2023/8/1", "2023/8/31") and status =! Done
You can try other operators like:
I hope this has been useful to you.
I will be waiting for your comments. đŸ˜‰
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Atlassian Community!
I need to make some assumptions here:
The answers are
But you can be more clever with the dates:
See more functions at https://support.atlassian.com/jira-software-cloud/docs/jql-functions/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Nic Brough -Adaptavist-. thanks for the quick response! You are absolutely correct; I meant JQL not SQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The "changed" operator might be useful, but it is very limited - it only works on a few fields
For example : ... and (status changed from to-do to done)... could pull out stuff that bypassed all development.
The one I nick from the docs is a bit more real-life: priority CHANGED BY freddo BEFORE endOfWeek() AFTER startOfWeek()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Nic,
Jumping back into this thread. I am trying to look at all tickets during a specified date range. Meaning, ticket statuses can equal any of the following (open, scoping, development, in review, deployment, done, declined).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using... and status changed during (date,date)
I get results but my concern is that I am missing tickets that did not have a status change during that period and remained in one of the statuses listed above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think we found a solution....
AND "created">="dateX" and "created"<="dateY" AND "updated">="dateX" and "updated"<="dateY"
This shows us anything created and updated within the specified time range.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.