Gets the elapsed time since the last mark (either the updated time of the last log or the time that the issue was
        marked in progress)

def get_elapsed_time(self, issue):
        """
        Gets the elapsed time since the last mark (either the updated time of the last log or the time that the issue was
        marked in progress)
        """
        last_mark = None

        # Get the last mark from the work logs
        worklogs = self.get_worklog(issue)
        if worklogs:
            last_worklog = worklogs[-1]
            last_mark = dateutil.parser.parse(last_worklog.raw['updated'])

        # If no worklogs, get the time since the issue was marked In Progress
        if not last_mark:
            last_mark = self.get_datetime_issue_in_progress(issue)

        if last_mark:
            now = datetime.datetime.now(dateutil.tz.tzlocal())
            delta = now - last_mark
            minutes = int(utils.timedelta_total_seconds(delta) / 60)
            if minutes > 0:
                return str(minutes) + 'm'
            else:
                return None