Sha256: f07766bec01ef2190ce7028011c9a53a9e01af2db697552c7204b900276a5faa

Contents?: true

Size: 891 Bytes

Versions: 15

Compression:

Stored size: 891 Bytes

Contents

# frozen_string_literal: true

class Gitlab::Client
  # Defines methods related to issues.
  # @see https://docs.gitlab.com/ee/api/epic_issues.html
  module EpicIssues
    # List issues for an epic.
    # Gets all issues that are assigned to an epic and the authenticated user has access to..
    # @example
    #   Gitlab.epic_issues(5, 7)
    #   Gitlab.epic_issues(5, 7, { per_page: 40 })
    #
    # @param  [Integer, String] group The ID or name of a group.
    # @param  [Integer] epic The iid of an epic.
    # @param  [Hash] options A customizable set of options.
    # @option options [Integer] :page The page number.
    # @option options [Integer] :per_page The number of results per page.
    # @return [Array<Gitlab::ObjectifiedHash>]
    def epic_issues(group, epic, options = {})
      get("/groups/#{url_encode group}/epics/#{epic}/issues", query: options)
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
gitlab-5.1.0 lib/gitlab/client/epic_issues.rb
gitlab-5.0.0 lib/gitlab/client/epic_issues.rb
gitlab-4.20.1 lib/gitlab/client/epic_issues.rb
gitlab-4.20.0 lib/gitlab/client/epic_issues.rb
fs-gitlab-4.19.3 lib/gitlab/client/epic_issues.rb
fs-gitlab-4.19.2 lib/gitlab/client/epic_issues.rb
fs-gitlab-4.19.1 lib/gitlab/client/epic_issues.rb
gitlab-4.19.0 lib/gitlab/client/epic_issues.rb
fs-gitlab-4.18.2 lib/gitlab/client/epic_issues.rb
fs-gitlab-4.18.1 lib/gitlab/client/epic_issues.rb
gitlab-4.18.0 lib/gitlab/client/epic_issues.rb
gitlab-4.17.0 lib/gitlab/client/epic_issues.rb
gitlab-4.16.1 lib/gitlab/client/epic_issues.rb
gitlab-4.16.0 lib/gitlab/client/epic_issues.rb
gitlab-4.15.0 lib/gitlab/client/epic_issues.rb