简体   繁体   English

查找在9.00 am和10.00 am之间创建的JIRA门票

[英]Find JIRA tickets created between 9.00 am and 10.00 am

Assuming I have hours per day set at 8 and start time set at 9.00 am how can I narrow down tickets using a JQL filter for tickets created between 9.00 am and 10.00 am? 假设我每天的小时数设置为8,开始时间设置为9.00 am,如何使用JQL筛选器缩小在9.00 am和10.00 am之间创建的票证的票证范围? I was thinking something like: 我在想类似的东西:

AND updated > startOfDay() AND updated < startOfDay("+1h")  

Please see my answer here: Filter issues updated by particular user in period of time using JQL 请在这里查看我的答案: 使用JQL过滤特定用户在一段时间内更新的问题

It seems like you are asking the same question. 好像您在问同样的问题。 Hopefully this helps you out. 希望这可以帮助您。

A scripted field using Script Runner plugin will show the hour: 使用Script Runner插件的脚本字段将显示小时:

import java.util.Calendar
Calendar cal = Calendar.getInstance()
cal.setTime(issue.created)
cal.get(Calendar.HOUR_OF_DAY).toString()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM