update requestAllPages function
retrieve all issues at once