Am trying to figure out a JIRA search that will tell me when an issue was last re-opened (state change from closed to open - or a number of intermediate states), that had a resolution type of "deferred" when in the closed state. I should note also that our system resets the resolution type to "unresolved" when an issue is re-opened.