Class: Jira::Requests::Issues::ListService
- Extended by:
- Gitlab::Utils::Override
- Defined in:
- app/services/jira/requests/issues/list_service.rb
Direct Known Subclasses
Constant Summary collapse
- PER_PAGE =
100- DEFAULT_FIELDS =
%w[assignee created creator id issuetype key labels priority project reporter resolutiondate status statuscategorychangeddate summary updated description].join(',').freeze
Constants inherited from Base
Base::ALL_ERRORS, Base::ERRORS, Base::JIRA_API_VERSION, Base::JIRA_ERROR_JSON_SIZE_LIMIT
Instance Method Summary collapse
-
#initialize(jira_integration, params = {}) ⇒ ListService
constructor
A new instance of ListService.
Methods included from Gitlab::Utils::Override
extended, extensions, included, method_added, override, prepended, queue_verification, verify!
Methods inherited from Base
Methods included from SafeFormatHelper
Constructor Details
#initialize(jira_integration, params = {}) ⇒ ListService
Returns a new instance of ListService.
14 15 16 17 18 19 |
# File 'app/services/jira/requests/issues/list_service.rb', line 14 def initialize(jira_integration, params = {}) super(jira_integration, params) @jql = params[:jql].to_s @per_page = (params[:per_page] || PER_PAGE).to_i end |