added further logic for issue views