module Gitlab::Client::GroupMilestones
def create_group_milestone(id, title, options = {})
-
(Gitlab::ObjectifiedHash)
- Information about created milestone.
Options Hash:
(**options)
-
:due_date
(String
) -- The due date of a milestone. -
:description
(String
) -- The description of a milestone.
Parameters:
-
options
(Hash
) -- A customizable set of options. -
title
(String
) -- The title of a milestone. -
id
(Integer, String
) -- The ID or name of a group.
def create_group_milestone(id, title, options = {}) body = { title: title }.merge(options) post("/groups/#{url_encode id}/milestones", body: body) end