refactors calculation of duration_tier from issue