Average Time in Status Gadget showing all updated issues which is incorrect

Description

Actual Behaviour

Currently the Average Time in Status gadget showing all updated issues including those issues that are (in progress, open...) which are incorrect.

Example of screenshots of the behaviour:

Expected Behaviour

It should only shows issues that are already resolved instead

Environment

None

Testing Notes

None

Status

Assignee

Unassigned

Reporter

Daryl Chuah

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Components

Affects versions

1.7.1

Priority

Major