             id:  issueId
         else
           console.debug data
-          Analytics.sendException("Error: getIssuesById")
+          @Analytics.sendException("Error: getIssuesById")
         error(data, status))
 
 

    ###
    get: (auth) ->
      if not _redmines[auth.url]
        _redmines[auth.url] = new Redmine(auth, $http, $q, $rootScope, Ticket, Project, Base64)
      return _redmines[auth.url]



    config = @setBasicConfig config, @auth
    config.headers = "Content-Type": "application/xml"
    @$http(config)
      .success((data) =>
        @Analytics.sendEvent 'internal', 'submitTime', 'success', config.hours
        success(data))
      .error((data) =>
        console.debug data
        @Analytics.sendException("Error: submitTime")
        error(data))


  ###
