code: def worklogs(self, issue):
          
          r_json = self._get_json('issue/' + str(issue) + '/worklog')
          worklogs = [Worklog(self._options, self._session, raw_worklog_json)
                      for raw_worklog_json in r_json['worklogs']]
          return worklogs
docs: Get a list of worklog Resources from the server for an issue.
  
          :param issue: ID or key of the issue to get worklogs from
          :rtype: List[Worklog]