How to use the = operators with the Created or with any other date Fields?

when i tried with != Operator i got the correct result.

Project = eureka and Created != "2015/01/16" 

With this JQL

  Project = eureka and Created = "2015/01/15"

  I haven't able to fetch the result.

atlassian_ans.PNG

 

1 answer

1 accepted

The problem is the created timestamp also contains a time part like "2015/01/15 12:15:00". If you write  "2015/01/15" this is equal to  "2015/01/15 00:00:00".

So Project = eureka and Created = "2015/01/15" means all issues from project  eureka created at midnight on 2015/01/15. That is why you find no issues.

Hi Brand Thanks for the Answer I have tried in this way which you have suggested 1.project = test and created = "2015/01/15 10:57" No Issues were found to Match Your search 2.project = test and created >= "2015/01/15 10:57" One issue which has a Created Value = "2015/01/15 10:57" 3.project = test and created >= "2015/01/15 10:57:00" Got an Error Message "Date value '2015/01/15 10:57:00' for field 'created' is invalid. Valid formats include: 'yyyy/MM/dd HH:mm', 'yyyy-MM-dd HH:mm', 'yyyy/MM/dd', 'yyyy-MM-dd', or a period format e.g. '-5d', '4w 2d'." My Jira Version Is 6.4.1 System Date/Time format is "yyyy/MM/dd HH:mm"

Yes, the format is only containing hours and minutes but the timestamp also contains seconds (not sure about milliseconds). So if you want to find issues created within a certain minute use project = test and created >= "2015/01/15 10:57" and created < "2015/01/15 10:58"

Hi, Thanks for your answer Previously i also tried with TO_DATE('9999/12/31', 'YYYY/MM/DD') But format error will occur. Thanks

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

694 views 6 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you