Let's consider some common cases for searches with dates:
Case #1. Issues that were created between two relative dates (1-2 weeks ago)
created >=-2w AND created <=-1w
Case #2. Issues that were resolved between two specific dates (12th of May – 20th of May)
resolved >= 2021-05-12 AND resolved <= 2021-05-20
* Use the correct JQL syntax → yyyy-mm-dd (to set date) or yyyy-mm-dd hh:mm (to set date and time)
Case #3. Issues that were updated on a specific date (12th of May). If you don’t specify a time (hh:mm), you’ll get a list of issues updated at midnight (00-00). So, you need to choose a Between option to set a query (12th of May – 13th of May). Thus, you’ll get issues updated between 12 a.m. on the 12th of May and 12 a.m. on the 13th of May.
updated >= 2021-05-12 AND updated <2021-05-13
The other option you can use for these queries or while working with dates is Dynamic Filter: JQL Replacer and Gadgets. It will help if you’re new to JQL syntax or want to speed up the process of filtering. You can build queries with the aid of a visual composer. It’s equipped with a drop-down calendar for choosing dates.
2 clicks – and you’re set:
Hope this info will make your work with dates in Jira simpler. Share your cases to find a solution for them.
Zoryana Bohutska _SaaSJet_Marketplace Partner
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events