In JQL, created with = operator is not working

Piyush Patel May 7, 2021

I created a few issues on 07/May/2021, and try to get by following JQL. But I didn't get those issues.

created = "07/May/2021"

4 answers

2 accepted

1 vote
Answer accepted
Dirk Ronsmans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 7, 2021

Hi @Piyush Patel ,

Keep in mind that if you put a specific date it means 00:00 of the day as well.

You could try ">" and "<"

also be sure to keep the correct format for your system language.

For me for example  i need to put yyyy-MM-dd as my format. 

So you could do 

created >= "2021/03/07" AND created <= 2021/03/08

I believe this should give you all the issues created during the day of 7/Mar/2021

0 votes
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 7, 2021

Hi @Piyush Patel the problem here is that created date stores Date and Time. So if you want to use "=", you need to put date and exact time to the condition. So the correct and easiest condition is created >= "2021/05/07" AND created < 2021/05/08

0 votes
Yuliia_Borivets__SaaSJet_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 7, 2021

Hi @Piyush Patel 

I believe the following request should work for you:

created >= "2021/05/07" AND created <= "2021/05/08"

 

The other option I can recommend is the Dynamic Filters: JQL Replacer add-on. It allows you to set queries without JQL knowledge. 

For your query, you can choose created within thee last 1 day as shown below:

createddate1.png

Or set the dates you need from the drop-down calendar:

2021-05-07_23-51-30.png

Hope you find this info helpful.

Best regards

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 7, 2021

Have you tried createddate?

Piyush Patel May 7, 2021

Yes

Suggest an answer

Log in or Sign up to answer