Function restoreIssues