2010-11-26 87 views
0

我與jql的問題是,我想檢索問題的數量和問題在一天內解決,但當我做一個查詢如: proejct =「blablabla」創建> = -2d並創建< -1d。我從-2d -1d得到問題。 > = OR>沒有任何區別Jira查詢語言(「bug」)

我已經看到,如果使用日期,如:proejct = 「blablabla」 創建> = 2010-11-22創造< 2010-11-23。它返回的22-11-2010這是正確的問題,但如果我這樣做:

創建> 2010-11-22創造< 2010-11-23 OR

創建> 2010 -11-22創造< = 2010-11-23

我得到同樣的結果和相同的問題是createdDate(這是不可能與JqlClauseBuilder使用)。

我現在的問題是:是否有可能從創建和使用日期的一天中獲得問題?沒有弄亂查詢結果?

回答

3

Atlassian的論壇上回答喬賓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"