如何获取特定用户的所有故事和子任务以及在 JIRA 中每个项目花费的时间

How to get all stories and sub tasks from a specific user along with how much time spent on each item in JIRA

我正在尝试获取特定用户的所有故事和子任务,以及从今年年初开始在每个项目上花费的时间。

我使用的是 JIRA v8.5.9 版本,我尝试了 运行 以下查询,但没有给我预期的结果,感谢任何帮助。

(issuetype = "Sub task") AND time spent > 0 and assignee = test123

使用您显示的示例,尝试以下 JQL 查询。

(issuetype = "Sub task" OR issuetype = Story )AND timespent > 0 AND assignee = test123 AND createdDate >= startOfYear()

解释:

  • 首先寻找 Sub taskstory
  • 然后确保它的 timespent(看起来 OP 在 OP 的努力中有错字)在这里大于 0。
  • 然后检查受让人应该是test123用户。
  • 然后设置 AND 条件以确保所有项目都来自今年年初。