bug issue relation metric
revert to db aggregation