You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Having challenges trying to build a query to provide all Jira tickets that have been Closed or Resolved from a date in the past until now (or between two dates).
Example: I need to know how many tickets were changed to a Closed or Resolved status from April 1, 2023 to April 30, 2023. resolutiondate doesn't seem to be the right date or perhaps my syntax isn't correct? Searching for what other dates can be used has not provided additional help.
I don't see any obvious way to get this result and I'm mostly a novice at these queries. Any help is appreciated!
Thanks!
Hi @William St Croix I think this would work for your range:
resolved >= '2022/04/01' and resolved <= '2023/04/01' order by created DESC
Here's an article on JQL operators:
Advanced search reference - JQL operators | Jira Software Cloud | Atlassian Support
There's a bunch of other links in there too.
Here's an article on fields: Advanced search reference - JQL fields | Jira Software Cloud | Atlassian Support
I do a lot of Internet searches for getting JQL help too! Hope that helps.
Hi @Dan Breyen - That helped out. Thanks!
Another follow up, if a ticket goes from New to Closed, which date would be applied at that point to pick that up as a 'closed ticket' as resolved was never a status. These seem to be the ones slipping through the cracks now.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From this reply: Resolution date is blank (atlassian.com) The date gets set when the resolution gets filled in. I'm no expert, but I would say you would have a couple of options. 1, remove that workflow, where they can't go from 'New' to 'Closed' without going to resolved first. ( There are schools of thought on that. Support Resolves it, customer Closes, or support can close (kinda up to you)). I have an automation that runs where if it's been Resolved for 5 days, to close it and give customer a notification.
2. Make sure the "Resolution" is required on the form when they go from 'New' to 'Closed'
3. Setup an automation that looks for Closed tickets w/o a resolution and adds one in.
or 4. Manually search for closed tickets w/o resolution and add one.
I chose the option that they can only go to Resolved, not Closed.
I'm no expert on Workflows, you can always have support help out too.
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.