- List project milestones
- Get single milestone
- Create new milestone
- Edit milestone
- Delete project milestone
- Get all issues assigned to a single milestone
- Get all merge requests assigned to a single milestone
- Promote project milestone to a group milestone
- Get all burndown chart events for a single milestone
Project milestones API
Use project milestones with the REST API. There’s a separate group milestones API page.
List project milestones
Returns a list of project milestones.
GET /projects/:id/milestones
GET /projects/:id/milestones?iids[]=42
GET /projects/:id/milestones?iids[]=42&iids[]=43
GET /projects/:id/milestones?state=active
GET /projects/:id/milestones?state=closed
GET /projects/:id/milestones?title=1.0
GET /projects/:id/milestones?search=version
Parameters:
Attribute | Type | Required | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id
| integer or string | yes | The ID or URL-encoded path of the project owned by the authenticated user | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
iids[]
| integer array | optional | Return only the milestones having the given iid (Note: ignored if include_parent_milestones is set as true )
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
state
| string | optional | Return only active or closed milestones
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title
| string | optional | Return only the milestones having the given title
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
search
| string | optional | Return only milestones with a title or description matching the provided string | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
include_parent_milestones
| boolean | optional | Include group milestones from parent group and its ancestors.
Example Response:
Get single milestoneGets a single project milestone.
Parameters:
Create new milestoneCreates a new project milestone.
Parameters:
Edit milestoneUpdates an existing project milestone.
Parameters:
Delete project milestoneOnly for users with the Developer role in the project.
Parameters:
Get all issues assigned to a single milestoneGets all issues assigned to a single project milestone.
Parameters:
Get all merge requests assigned to a single milestoneGets all merge requests assigned to a single project milestone.
Parameters:
Promote project milestone to a group milestone
Get all burndown chart events for a single milestoneVersion history
Gets 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). |