Method: Gitlab::Client::ResourceStateEvents#issue_state_events

Defined in:
lib/gitlab/client/resource_state_events.rb

#issue_state_events(project, issue_iid) ⇒ Array<Gitlab::ObjectifiedHash>

Gets a list of all state events for a single issue.

Examples:

Gitlab.issue_state_events(5, 42)

Parameters:

  • project (Integer, String)

    The ID or name of a project.

  • issue_iid (Integer)

    The IID of an issue.

Returns:



15
16
17
# File 'lib/gitlab/client/resource_state_events.rb', line 15

def issue_state_events(project, issue_iid)
  get("/projects/#{url_encode project}/issues/#{issue_iid}/resource_state_events")
end