Codeberg icon

Codeberg

Interact with the Codeberg API

Milestone → Update

AI-generated

Summary

Update a milestone in a specified repository on Codeberg by providing its ID and any fields to change.

Inputs

  • Authentication (required) — Choose authentication method between Access Token or OAuth2.
  • Repository Owner (required) — Owner of the repository where the milestone belongs.
  • Repository Name (required) — Name of the repository.
  • Milestone ID (required) — The ID of the milestone to update.
  • Update Fields — Fields to update in the milestone, including title, description, due date, and state (open or closed).

Output shape

a single record representing the updated milestone

Returns the updated milestone object as JSON after the update operation.

Examples

Example 1: Update the title and due date of a milestone

Set Repository Owner to 'my-org', Repository Name to 'my-repo', Milestone ID to the target milestone's ID, and specify new Title and Due Date in Update Fields.

Links

Discussion