显示在其内部截止日期后关闭的所有 JIRA 问题?

Show all JIRA issues closed after its Internal Deadine date?

我们的 JIRA 中有一个名为 Internal Deadline 的自定义字段,但我如何找到所有已经 Closed 但已超过截止日期的问题?

{
  id: "customfield_6524",
  name: "Internal Deadline",
  custom: true,
  orderable: true,
  navigable: true,
  searchable: true,
  clauseNames: [
    "cf[6524]",
    "Internal Deadline"
  ],
  schema: {
    type: "date",
    custom: "com.atlassian.jira.plugin.system.customfieldtypes:datepicker",
    customId: 6524
  }
}

我在检查错过截止日期的地方没有问题now(),但我也想要历史数据,但无法在 JQL 中选择我的 Closed 状态:

尝试输入 Resolved 日期导致此错误:

Date value 'Resolved' for field 'Internal Deadline' is invalid.
Valid formats include: 'YYYY/MM/DD', 'YYYY-MM-DD', or a period 
format e.g. '-5d', '4w 2d'.

也许 JIRA 的设计范围只包含此时此地的日期?我曾希望我可以监控 "delivery track record".

您应该下载 Script runner 插件(免费),它提供了一些已实现的 JQL 查询功能。一旦你安装了它,你就可以使用这个查询:

issueFunction in dateCompare("","Internal Deadline < Resolved")

如需进一步参考,请参阅此处 dateCompare 的文档,https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_datecompare