Method: Gitlab::Client::ResourceStateEvents#issue_state_event

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

#issue_state_event(project, issue_iid, id) ⇒ Object

Returns a single state event for a specific project issue

Examples:

Gitlab.issue_state_event(5, 42, 1)

Parameters:

  • project (Integer, String)

    The ID or name of a project.

  • issue_iid (Integer)

    The IID of an issue.

  • id (Integer)

    The ID of a resource event.

Returns:

  • Gitlab::ObjectifiedHash



28
29
30
# File 'lib/gitlab/client/resource_state_events.rb', line 28

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