0

我对 jql 的问题是我想检索问题的数量和一天内解决的问题,但是当我执行如下查询时:proejct="blablabla" created >= -2d and created < -1d。我从 -2d-1d 得到问题。>= OR > 没有任何区别

我看到如果你使用这样的日期: proejct="blablabla" created >=2010-11-22 and created < 2010-11-23。它在 22-11-2010 上返回问题是正确的,但如果我这样做:

创建时间 >2010-11-22并且创建时间 < 2010-11-23

创建>2010-11-22并创建<= 2010-11-23

我得到了相同的结果,而 createdDate 也有同样的问题(不能与JqlClauseBuilder一起使用)。

我现在的问题是:是否有可能从 ONE day 开始使用 created 和 using -days?不弄乱查询结果?

4

1 回答 1

3

来自 atlassian 论坛的回答来自 Jobin Kuruvilla:

This is because you are not specifying the time. Basically it will take the time as 12.00 AM.

created >2010-11-22 and created < 2010-11-23 means created after 22nd 12.00AM and before 23rd 12:00 AM which basically means created on 22nd! Same can be told of other cases as well.

Include time like: created > "2010/11/26 01:35" 
于 2010-11-26T09:02:47.377 回答