I am trying to filter defects using a JQL on a on-prem JIRA, like
project = <project_name> AND issuetype = Bug AND status not in (Done, Closed) AND created <= 2020-07-23 ORDER BY labels ASC, key ASC, priority DESC, updated DESC
But it is not bringing in the defects created on the date 2020-07-23. Also the date with or without any type of quotes is working the same. Looks like they are optional.
Some where I read that if I use, it would work as expected
project = <project_name> AND issuetype = Bug AND status not in (Done, Closed) AND created < 2020-07-24 ORDER BY labels ASC, key ASC, priority DESC, updated DESC
Actually, it is bringing defects, as expected. Why the Query is not working as expected.