Jira 查询语言(“bug”)

发布于 2024-10-04 08:11:56 字数 664 浏览 0 评论 0原文

我对 jql 的问题是我想检索问题的数量以及一天内解决的问题,但是当我执行如下查询时: proejct="blablabla" 创建了 >= -2d 并创建了 <-1d。我从 -2d AND -1d 收到问题。 >= 或 >没有任何区别

我看到,如果您使用如下日期: proejct="blablabla" 创建 >=2010-11-22 并创建 < 2010年11月23日。它返回 2010 年 11 月 22 日的问题,这是正确的,但如果我这样做:

创建 >2010-11-22 并创建 <; 2010-11-23 或者

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

我得到了相同的结果和相同的结果问题在于 createdDate (不可能与 JqlClauseBuilder 一起使用)。

我现在的问题是:是否有可能在创建和使用天数的一天中出现问题?不会弄乱查询结果?

My problem with jql is that I want to retrieve the number of issues and the issues resolved in one day, but when I do a query like:
proejct="blablabla" created >= -2d and created <-1d. I get the issues from -2d AND -1d. The >= OR > doesn't make ANY difference.

I saw that if you use the date like: proejct="blablabla" created >=2010-11-22 and created < 2010-11-23. It returns issues on 22-11-2010 that is correct, BUT if I do:

created >2010-11-22 and created < 2010-11-23 OR

created >2010-11-22 and created <= 2010-11-23

I get the SAME RESULT and the same problem is with createdDate (that is not possible to use with JqlClauseBuilder).

My question now is: Is it possible to get issues from ONE day with created and using -days? without mess out the query result?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

原来是傀儡 2024-10-11 08:11:56

来自 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" 

Answer from atlassian forum By 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" 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文