wrote code to fetch all issues