怎么在jira中查询历史状态有reopened的缺陷

2025-04-07 17:02:46
推荐回答(2个)
回答1:

高级查询

AND status CHANGED FROM  Resolved TO Reopened

网页链接

CHANGED

The "CHANGED" operator is used to find issues that have a value that had changed for the specified field.

This operator has the following optional predicates:

  • AFTER "date"
  • BEFORE "date"
  • BY "username"
  • DURING ("date1","date2")
  • ON "date"
  • FROM "oldvalue"
  • TO "newvalue"
  • (Note: This operator can be used with the Assignee, Fix Version, Priority, Reporter, Resolution, and Status fields only.)

    Examples

  • Find issues whose assignee had changed:

    assignee CHANGED
  • Find issues whose status had changed from 'In Progress' back to 'Open':

    status CHANGED FROM "In Progress" TO "Open"
  • Find issues whose priority was changed by user 'freddo' after the start and before the end of the current week.

    priority CHANGED BY freddo BEFORE endOfWeek() AFTER startOfWeek()

回答2:

这个简单

project = 项目ID AND issuetype in (Bug, 故障) AND resolution = Duplicate ORDER BY priority DESC, updated DESC