<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def resolve(self, notes=None):
        '''Save all changes and resolve this issue'''
        self.set_status(self._redmine.ISSUE_STATUS_ID_RESOLVED, notes=notes)