How to calculate estimate hours vs. actual hours

eazyBI maps any measure to Time dimension. Measure Hours spent is mapped to the Time when logged hours was set for. This could be a different period than the one when you resolve an issue.

You would like to use some calculation to access total logged time for resolved issues. I can suggest using a similar measure to the one you use for estimated time:

Sum(
  Filter(
    Descendants([Issue].CurrentMember, [Issue].[Issue]),
      DateInPeriod(
        [Measures].[Issue resolution date],
        [Time].CurrentHierarchyMember
        )
    ),
  ([Measures].[Hours spent],
  [Time].CurrentHierarchy.DefaultMember)
)

I have some suggestions for the formula you shared with us as well.
It seems you are using some calculated JavaScript (or some other approach) to import Original estimates hours mapped with resolution time. In this case, you do not need to use the formula with Issue level calculation you shared with us. You can use a measure Original estimated hours resolved directly in the report to get original estimated hours mapped to resolution time. The formula you are using is required if you want to override mapping by time for a default measure Original estimated hours.

Daina / support@eazybi.com