- List group milestones
- Get single milestone
- Create new milestone
- Edit milestone
- Delete group milestone
- Get all issues assigned to a single milestone
- Get all merge requests assigned to a single milestone
- Get all burndown chart events for a single milestone
Group milestones API
Use the group milestones using the REST API. There’s a separate project milestones API page.
List group milestones
Returns a list of group milestones.
GET /groups/:id/milestones
GET /groups/:id/milestones?iids[]=42
GET /groups/:id/milestones?iids[]=42&iids[]=43
GET /groups/:id/milestones?state=active
GET /groups/:id/milestones?state=closed
GET /groups/:id/milestones?title=1.0
GET /groups/:id/milestones?search=version
Parameters:
Attribute | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id
| integer/string | yes | The ID or URL-encoded path of the group owned by the authenticated user | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
iids[]
| integer array | no | Return only the milestones having the given iid (Note: ignored if include_parent_milestones is set as true )
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
state
| string | no | Return only active or closed milestones
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title
| string | no | Return only the milestones having the given title
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
search
| string | no | Return only milestones with a title or description matching the provided string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
include_parent_milestones
| boolean | optional | Include milestones from parent group and its ancestors.
Example Response:
Get single milestoneGets a single group milestone.
Parameters:
Create new milestoneCreates a new group milestone.
Parameters:
Edit milestoneUpdates an existing group milestone.
Parameters:
Delete group milestoneOnly for users with the Developer role in the group.
Parameters:
Get all issues assigned to a single milestoneGets all issues assigned to a single group milestone.
Parameters:
Currently, this API endpoint doesn’t return issues from any subgroups.
If you want to get all the milestones’ issues, you can instead use the
List issues API and filter for a
particular milestone (for example, Get all merge requests assigned to a single milestoneGets all merge requests assigned to a single group milestone.
Parameters:
Get all burndown chart events for a single milestoneVersion history
Get all burndown chart events for a single milestone.
Parameters:
Help & feedbackDocsEdit this page to fix an error or add an improvement in a merge request.Create an issue to suggest an improvement to this page. ProductCreate an issue if there's something you don't like about this feature.Propose functionality by submitting a feature request. to help shape new features. Feature availability and product trialsto see all GitLab tiers and features, or to upgrade.with access to all features for 30 days. Get Help
If you didn't find what you were looking for,
search the docs.
If you want help with something specific and could use community support,
.
For problems setting up or using this feature (depending on your GitLab
subscription). |