Class: ErrorTracking::ListIssuesService

Inherits:
BaseService show all
Defined in:
app/services/error_tracking/list_issues_service.rb

Constant Summary collapse

DEFAULT_ISSUE_STATUS =
'unresolved'
DEFAULT_LIMIT =
20
DEFAULT_SORT =
'last_seen'
ISSUE_STATUS_VALUES =

Sentry client supports 'muted' and 'assigned' but GitLab does not

%w[
  resolved
  unresolved
  ignored
].freeze

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods inherited from BaseService

#execute

Methods inherited from BaseService

#initialize

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from BaseService

Instance Method Details

#external_urlObject


16
17
18
# File 'app/services/error_tracking/list_issues_service.rb', line 16

def external_url
  project_error_tracking_setting&.sentry_external_url
end