Function restoreIssue