Reduce duplication and complexity for agileboard reports helper.